Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001156/0.001156, 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.001369/0.001369, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6778, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002469/0.6804, allocations: 1.494 MB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.6814, allocations: 0.7297 MB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.6815, allocations: 0.9062 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.6815, allocations: 7.875 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.6816, allocations: 13.44 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.6821, allocations: 125.3 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.6822, allocations: 68.19 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.6823, allocations: 17.47 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.6824, allocations: 38.38 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.6824, allocations: 39.2 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.6825, allocations: 10.94 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.6827, allocations: 94.31 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.6827, allocations: 22.16 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.6827, allocations: 31.55 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.6829, allocations: 140 kB / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6829, allocations: 0 / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6829, allocations: 1.094 kB / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.683, allocations: 0 / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000507/0.6835, allocations: 427.7 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6835, allocations: 14.16 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.6835, allocations: 36.09 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.6836, allocations: 4.812 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.561e-05/0.6837, allocations: 171.3 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.6837, allocations: 7.297 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.6837, allocations: 4.344 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.6839, allocations: 76.03 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.6839, allocations: 0 / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6839, allocations: 0 / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.6839, allocations: 5.281 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.6841, allocations: 41.31 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.6846, allocations: 321.3 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.6847, allocations: 51.53 kB / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.6848, allocations: 31.34 kB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.6848, allocations: 1.188 kB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.685, allocations: 77.16 kB / 0.9537 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.685, allocations: 0 / 0.9537 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003651/0.6854, allocations: 145.3 kB / 0.9538 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.6854, allocations: 56.66 kB / 0.9539 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.6855, allocations: 124.6 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.6855, allocations: 27.17 kB / 0.954 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.6855, allocations: 91.41 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.6856, allocations: 14.56 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.6856, allocations: 29.55 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.6857, allocations: 324.9 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.6857, allocations: 25.89 kB / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.6858, allocations: 49.33 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.686, allocations: 83.2 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.686, allocations: 4 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002248/0.6862, allocations: 114.2 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6863, allocations: 5.031 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6863, allocations: 4.922 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6863, allocations: 2.531 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.6864, allocations: 16.09 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6864, allocations: 1.25 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.6865, allocations: 12.77 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.6865, allocations: 6.438 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.788e-05/0.6866, allocations: 127.2 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.6866, allocations: 6.562 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.6866, allocations: 13.58 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6867, allocations: 1.531 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6867, allocations: 0 / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6867, allocations: 5.094 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.687, allocations: 390.9 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6871, allocations: 0 / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.6871, allocations: 3.031 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6871, allocations: 1.781 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.6871, allocations: 7.984 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6871, allocations: 5 kB / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6871, allocations: 0 / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.6874, allocations: 211.1 kB / 0.9555 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.6874, allocations: 82.05 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.6874, allocations: 9.422 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.6875, allocations: 5.938 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.6876, allocations: 3.812 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.6876, allocations: 5.547 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.6876, allocations: 92.55 kB / 0.9557 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6876, allocations: 0 / 0.9557 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003051/0.6879, allocations: 40.94 kB / 0.9557 GB, free: 3.867 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006131/0.6885, allocations: 0.8171 MB / 0.9565 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.6888, allocations: 69.52 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6888, allocations: 2.656 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.6889, allocations: 38.05 kB / 0.9566 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.6892, allocations: 11.23 kB / 0.9566 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.6904, allocations: 1.486 MB / 0.9581 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6906, allocations: 0.692 MB / 0.9588 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.6906, allocations: 7.844 kB / 0.9588 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.6907, allocations: 22.61 kB / 0.9588 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6907, allocations: 0 / 0.9588 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.71, allocations: 2.602 MB / 0.9613 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/8.057, allocations: 13.81 kB / 0.9614 GB, free: 15.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[553]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset