Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.707, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002707/0.7097, allocations: 1.594 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.7111, allocations: 0.7828 MB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.7112, allocations: 0 / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.7113, allocations: 11.88 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.7114, allocations: 23.78 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.712, allocations: 143.6 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.7122, allocations: 131.6 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.7123, allocations: 23.98 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.7125, allocations: 63.83 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.7126, allocations: 67.78 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.7127, allocations: 12 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.7129, allocations: 103.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.7129, allocations: 27.91 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.713, allocations: 59.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.7133, allocations: 189.8 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7133, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7133, allocations: 7.938 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7133, allocations: 4 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007206/0.714, allocations: 478.4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7141, allocations: 8.031 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.7141, allocations: 38.75 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.7142, allocations: 12.75 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.7143, allocations: 181.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.7143, allocations: 4.375 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.7144, allocations: 19.94 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.7146, allocations: 97.55 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.7146, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.7146, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.7147, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.7149, allocations: 63.89 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.7158, allocations: 376.5 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.7159, allocations: 62.55 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.7161, allocations: 56.83 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.7161, allocations: 12.08 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.7164, allocations: 99.34 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.7164, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005597/0.717, allocations: 209.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.717, allocations: 59.41 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.7172, allocations: 153.2 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.7172, allocations: 33.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.7172, allocations: 92.38 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.7173, allocations: 19.7 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.7173, allocations: 33.7 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7175, allocations: 322.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.7176, allocations: 40.34 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.7177, allocations: 82.7 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.718, allocations: 108.2 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.718, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003386/0.7183, allocations: 157.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7184, allocations: 8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7184, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7184, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.7186, allocations: 23.97 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.7186, allocations: 8.031 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.7187, allocations: 19.83 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.7187, allocations: 8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/0.7188, allocations: 117.8 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.7188, allocations: 15.89 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.7189, allocations: 12.75 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.7189, allocations: 7.938 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7189, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7189, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.7195, allocations: 454.4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7195, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.7196, allocations: 15.92 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7196, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.7196, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7196, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7196, allocations: 7.984 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.72, allocations: 259.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.7201, allocations: 96.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.7201, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.7203, allocations: 7.984 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.7204, allocations: 7.984 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.7204, allocations: 8 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.617e-05/0.7204, allocations: 107.2 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7205, allocations: 192 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003322/0.7208, allocations: 44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009186/0.7217, allocations: 0.8606 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.7221, allocations: 119.9 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7221, allocations: 192 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.7223, allocations: 67.84 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.7226, allocations: 12.27 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.7246, allocations: 1.718 MB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.7249, allocations: 0.6924 MB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.688e-05/0.7249, allocations: 8.078 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.725, allocations: 35.42 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.725, allocations: 0 / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.7454, allocations: 3.341 MB / 1.031 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/8, allocations: 12.02 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.TOut,win.pClose,win.pOpen,TIn.amplitude