Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.00117/0.001173, 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.001144/0.001144, allocations: 194.9 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.285/1.285, 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.197/2.197, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.09 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5281, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002183/0.5303, allocations: 1.512 MB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.5314, allocations: 0.7548 MB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.5314, allocations: 3.938 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.5315, allocations: 7.922 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.5315, allocations: 10.5 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.532, allocations: 135.6 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.5322, allocations: 102.3 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.5322, allocations: 21.53 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.5323, allocations: 47.2 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.5324, allocations: 51.88 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.5324, allocations: 9.125 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.5326, allocations: 100.8 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.5327, allocations: 27.69 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.5327, allocations: 37.88 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.5329, allocations: 168.1 kB / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5329, allocations: 1.031 kB / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5329, allocations: 0 / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.533, allocations: 7.938 kB / 0.9526 GB, free: 6.902 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005053/0.5335, allocations: 459.8 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5335, allocations: 9.719 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.5335, allocations: 36 kB / 0.9531 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.5336, allocations: 9.531 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/0.5336, allocations: 176.4 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.5337, allocations: 6.781 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5337, allocations: 5.344 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.5339, allocations: 89.48 kB / 0.9534 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5339, allocations: 1.719 kB / 0.9534 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.5339, allocations: 3.984 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5339, allocations: 1.594 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.5341, allocations: 44.59 kB / 0.9534 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.5347, allocations: 349.4 kB / 0.9538 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.5348, allocations: 61.27 kB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.982e-05/0.535, allocations: 40.75 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.535, allocations: 1.188 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.5352, allocations: 90.58 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.5352, allocations: 0 / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004556/0.5356, allocations: 185.9 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.5357, allocations: 61.64 kB / 0.9542 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.5357, allocations: 127.5 kB / 0.9543 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.5358, allocations: 34.8 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.5358, allocations: 86.67 kB / 0.9544 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.5358, allocations: 23.45 kB / 0.9545 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.5359, allocations: 31.36 kB / 0.9545 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.5359, allocations: 321.2 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.536, allocations: 35.81 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.5361, allocations: 68.78 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5362, allocations: 88.45 kB / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5362, allocations: 0 / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002213/0.5365, allocations: 137 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5365, allocations: 5.094 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5365, allocations: 1.375 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5365, allocations: 1.625 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.5366, allocations: 19.11 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5366, allocations: 5.406 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.5367, allocations: 8.281 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5367, allocations: 4.406 kB / 0.9551 GB, free: 4.543 MB / 0.7169 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,occ.y,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 (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 6.155e-05/0.5368, allocations: 132.1 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.5368, allocations: 6.688 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.5368, allocations: 7.297 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5368, allocations: 3.984 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5368, allocations: 1.438 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5368, allocations: 0 / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.5373, allocations: 433.2 kB / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5373, allocations: 0 / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.5373, allocations: 12.23 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5373, allocations: 0 / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5373, allocations: 1.562 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5373, allocations: 1.438 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5374, allocations: 3.938 kB / 0.9557 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.5377, allocations: 245.1 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.5377, allocations: 87.59 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.5377, allocations: 1.219 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.5378, allocations: 7.781 kB / 0.956 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.5379, allocations: 15.64 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5379, allocations: 2.719 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.5379, allocations: 99.2 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5379, allocations: 0 / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002822/0.5382, allocations: 47.36 kB / 0.9562 GB, free: 3.574 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,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 (8): * Single equations (assignments): 4 * 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.0006119/0.5388, allocations: 0.8405 MB / 0.957 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.5391, allocations: 91.44 kB / 0.9571 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5391, allocations: 0 / 0.9571 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.5392, allocations: 45.98 kB / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5395, allocations: 12.7 kB / 0.9572 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.5407, allocations: 1.578 MB / 0.9587 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.5408, allocations: 0.689 MB / 0.9594 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.5408, allocations: 8.031 kB / 0.9594 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.5409, allocations: 23.36 kB / 0.9594 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5409, allocations: 0 / 0.9594 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4409/0.9818, allocations: 2.938 MB / 0.9623 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.938, allocations: 11.41 kB / 0.9623 GB, free: 15.03 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed