Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_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.007553/0.007553, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00136/0.00136, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3374, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003438/0.3409, allocations: 1.514 MB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3425, allocations: 0.7521 MB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.3426, allocations: 3.938 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.3427, allocations: 11.92 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/0.3429, allocations: 11.88 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.3438, allocations: 135.6 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3441, allocations: 103.7 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3442, allocations: 12 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.3444, allocations: 47.89 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3445, allocations: 51.81 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3446, allocations: 12 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3449, allocations: 99.84 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.345, allocations: 23.91 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.3451, allocations: 43.78 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3454, allocations: 163.8 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3454, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3454, allocations: 3.938 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3454, allocations: 4 kB / 1.21 GB, free: 7.176 MB / 0.9669 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.000734/0.3462, allocations: 466.5 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3462, allocations: 8.625 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.3463, allocations: 34.75 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.3463, allocations: 8.844 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3465, allocations: 176.3 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3465, allocations: 384 / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3465, allocations: 8.312 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3468, allocations: 97.69 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3468, allocations: 4 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3468, allocations: 3.938 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3468, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.347, allocations: 43.97 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007876/0.3478, allocations: 344.7 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.348, allocations: 62.58 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3481, allocations: 40.84 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3481, allocations: 3.984 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.3485, allocations: 91.36 kB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3485, allocations: 4 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00055/0.349, allocations: 185.4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.3491, allocations: 55.41 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3492, allocations: 135.7 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3492, allocations: 29.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.3493, allocations: 96.27 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3493, allocations: 15.81 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.3494, allocations: 37.7 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3495, allocations: 322.8 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.3496, allocations: 23.98 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3498, allocations: 68.27 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.35, allocations: 92.22 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.35, allocations: 0 / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002811/0.3503, allocations: 133.4 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3503, allocations: 9.969 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3503, allocations: 4 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3503, allocations: 0 / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3504, allocations: 19.92 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3505, allocations: 4 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.3505, allocations: 19.91 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3506, allocations: 7.984 kB / 1.213 GB, free: 4.301 MB / 0.9669 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 9.577e-05/0.3507, allocations: 117.8 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3507, allocations: 11.91 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.3507, allocations: 12.38 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3507, allocations: 48 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3508, allocations: 7.922 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3508, allocations: 3.984 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.3514, allocations: 426.4 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3514, allocations: 0 / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3514, allocations: 4 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3514, allocations: 4 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3514, allocations: 3.984 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3514, allocations: 0 / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3515, allocations: 7.875 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.3519, allocations: 243.3 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.3519, allocations: 88.95 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.352, allocations: 8 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3521, allocations: 7.984 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3521, allocations: 7.938 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3521, allocations: 3.984 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.3522, allocations: 99.27 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3522, allocations: 0 / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003151/0.3525, allocations: 40 kB / 1.214 GB, free: 3.121 MB / 0.9669 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.0009193/0.3535, allocations: 0.8336 MB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.3538, allocations: 96.42 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3538, allocations: 0 / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3539, allocations: 43.97 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3542, allocations: 19.39 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.3559, allocations: 1.582 MB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3562, allocations: 0.6924 MB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.831e-05/0.3563, allocations: 4 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.3563, allocations: 27.42 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3563, allocations: 0 / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.3777, allocations: 3.045 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.34, allocations: 3.281 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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