Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.00206/0.00206, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002917/0.002917, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.86/1.86, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.249/3.249, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 60.94 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5308, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.005352/0.5362, allocations: 1.704 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.5386, allocations: 0.7867 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.5388, allocations: 0 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.363e-05/0.5388, allocations: 11.92 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.539, allocations: 19.8 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009884/0.54, allocations: 131.7 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.5403, allocations: 155.5 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.5405, allocations: 25.11 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.5407, allocations: 63.83 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.5409, allocations: 75.72 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.541, allocations: 12 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.5413, allocations: 103.8 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.5414, allocations: 43.88 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.5415, allocations: 59.72 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.542, allocations: 203.7 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.542, allocations: 3.984 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.542, allocations: 4 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.542, allocations: 0 / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001154/0.5432, allocations: 0.5383 MB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.5433, allocations: 12.62 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.5434, allocations: 38.73 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.5434, allocations: 8.844 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.5436, allocations: 188.1 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.5437, allocations: 8.375 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.5437, allocations: 8.375 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.5445, allocations: 137.7 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5445, allocations: 4 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.5446, allocations: 4 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5446, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.5453, allocations: 99.91 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.5465, allocations: 396.4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.5471, allocations: 98.5 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.5477, allocations: 92.78 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.5477, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007422/0.5485, allocations: 143.2 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.5485, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001795/0.5503, allocations: 309.3 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.5504, allocations: 55.41 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.5506, allocations: 149.2 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.5506, allocations: 29.69 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.5507, allocations: 96.38 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.5508, allocations: 27.64 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.5509, allocations: 33.7 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5511, allocations: 326.8 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.5513, allocations: 39.97 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.5516, allocations: 77.12 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.5521, allocations: 133 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5521, allocations: 0 / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006162/0.5528, allocations: 153.4 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5528, allocations: 9.406 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5528, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5528, allocations: 4 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.5531, allocations: 19.97 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.5531, allocations: 4 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5533, allocations: 20.03 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.5534, allocations: 11.92 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001931/0.5536, allocations: 119.3 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.5536, allocations: 11.91 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.5537, allocations: 16.8 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5537, allocations: 4 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5537, allocations: 0 / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5538, allocations: 3.984 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.5555, allocations: 0.5261 MB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5555, allocations: 0 / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.5557, allocations: 15.98 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5557, allocations: 208 / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.5557, allocations: 19.86 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.5558, allocations: 3.938 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5558, allocations: 3.938 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.5571, allocations: 323.2 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.5572, allocations: 85.02 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.5573, allocations: 11.94 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.5577, allocations: 27.91 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.5578, allocations: 3.984 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.5578, allocations: 7.984 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001294/0.558, allocations: 111.3 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of sort global known variables: time 3.91e-07/0.558, allocations: 0 / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006413/0.5586, allocations: 47.98 kB / 1.06 GB, free: 320 kB / 0.8106 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0023/0.5609, allocations: 0.9142 MB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009475/0.5619, allocations: 143.8 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5619, allocations: 256 / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.5625, allocations: 87.92 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.5631, allocations: 15.92 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.567, allocations: 1.795 MB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.5674, allocations: 0.7002 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.5675, allocations: 8.172 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5677, allocations: 31.42 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of SimCode: time 5.72e-07/0.5677, allocations: 4 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/1.876, allocations: 3.272 MB / 1.067 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/1.877, allocations: 280.4 kB / 1.067 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.069/6.946, allocations: 4.062 kB / 1.067 GB, free: 9.004 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches