Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.001131/0.001131, allocations: 108 kB / 15.61 MB, free: 148 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.001147/0.001147, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.299/2.299, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5672, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002616/0.5698, allocations: 1.482 MB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.571, allocations: 0.7372 MB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.5711, allocations: 5.188 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.5711, allocations: 3.938 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.5712, allocations: 9.266 kB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.5718, allocations: 126 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.5719, allocations: 76.28 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.572, allocations: 24.98 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.5721, allocations: 33.69 kB / 0.9522 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.5722, allocations: 40.11 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.5722, allocations: 6.344 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.5724, allocations: 97.09 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.5725, allocations: 15.42 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.5725, allocations: 31.98 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.5728, allocations: 131.2 kB / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5728, allocations: 0 / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5728, allocations: 5.375 kB / 0.9525 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5728, allocations: 4 kB / 0.9525 GB, free: 7.07 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.0006208/0.5734, allocations: 427.9 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5735, allocations: 16.78 kB / 0.9529 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.5735, allocations: 32.16 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.5736, allocations: 4.375 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.5737, allocations: 176.5 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.5737, allocations: 6.969 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.5737, allocations: 3.906 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.5739, allocations: 75.92 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5739, allocations: 0 / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.574, allocations: 1.219 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.574, allocations: 1.25 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.5741, allocations: 43.62 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.5747, allocations: 319.5 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.5748, allocations: 51.48 kB / 0.9536 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.5749, allocations: 31.56 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.575, allocations: 1 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.5752, allocations: 81.53 kB / 0.9537 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.5752, allocations: 0 / 0.9537 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000402/0.5756, allocations: 140.8 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.5756, allocations: 53.75 kB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.5757, allocations: 120 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.5757, allocations: 34.86 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.5758, allocations: 86.42 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.5758, allocations: 19 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.5759, allocations: 26.61 kB / 0.9541 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.5759, allocations: 323.8 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.576, allocations: 27.27 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.5761, allocations: 52.55 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.5763, allocations: 68.88 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5763, allocations: 1.531 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.5765, allocations: 115.9 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5765, allocations: 6.688 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5766, allocations: 1.219 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5766, allocations: 1.031 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.5767, allocations: 21.11 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5767, allocations: 1.062 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.5768, allocations: 8.156 kB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5768, allocations: 7.516 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 7.367e-05/0.5769, allocations: 118 kB / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.5769, allocations: 6.5 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.5769, allocations: 11.09 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5769, allocations: 0 / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5769, allocations: 5.406 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.577, allocations: 3.938 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.5773, allocations: 386.6 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5773, allocations: 4 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.5774, allocations: 7.578 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5774, allocations: 1.25 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5774, allocations: 1.094 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5774, allocations: 7.875 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5774, allocations: 4 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5777, allocations: 210.2 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.5777, allocations: 82.92 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.5777, allocations: 1.031 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.5778, allocations: 11.11 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.5779, allocations: 7.141 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.5779, allocations: 2.094 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.5779, allocations: 99.83 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5779, allocations: 1.156 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003165/0.5783, allocations: 35.8 kB / 0.9557 GB, free: 3.965 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,win.occ,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.0006644/0.5789, allocations: 0.8066 MB / 0.9565 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.5792, allocations: 78.88 kB / 0.9566 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.5792, allocations: 0 / 0.9566 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.5793, allocations: 32.17 kB / 0.9566 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.5796, allocations: 13.48 kB / 0.9566 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5809, allocations: 1.48 MB / 0.9581 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.697e-05/0.581, allocations: 0.6872 MB / 0.9587 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.5811, allocations: 3.594 kB / 0.9587 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5811, allocations: 23.02 kB / 0.9588 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.5811, allocations: 0 / 0.9588 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.5995, allocations: 2.603 MB / 0.9613 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.966, allocations: 20.73 kB / 0.9613 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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_Zhang2012WindowsAll.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset