Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.01047/0.01047, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002047/0.002047, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6459/0.647, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002198/0.6493, allocations: 1.495 MB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.6502, allocations: 0.7275 MB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.6503, allocations: 0.7188 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.6503, allocations: 6 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.6504, allocations: 10.12 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.6508, allocations: 125.5 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.6509, allocations: 77.22 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.651, allocations: 15.58 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.6511, allocations: 38.17 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.6511, allocations: 37.05 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.6512, allocations: 7.812 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.6513, allocations: 94.55 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.6513, allocations: 18.62 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.6514, allocations: 27.02 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.6516, allocations: 144.8 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.6516, allocations: 4 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6516, allocations: 4.656 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.6516, allocations: 0.9688 kB / 1.09 GB, free: 3.477 MB / 0.8575 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.0004557/0.6521, allocations: 422.1 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.6521, allocations: 9.344 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.6521, allocations: 33 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.6522, allocations: 10.02 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.638e-05/0.6522, allocations: 168.8 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.6523, allocations: 7.844 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.6523, allocations: 7.875 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6524, allocations: 80.62 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.6525, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.6525, allocations: 1.703 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6525, allocations: 1.5 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.6526, allocations: 34.66 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.6531, allocations: 320.1 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.6532, allocations: 44.42 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.6533, allocations: 37.25 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.6533, allocations: 5.25 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.6535, allocations: 72.7 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6535, allocations: 4 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003449/0.6538, allocations: 137.4 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.6538, allocations: 54.08 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.6539, allocations: 122.6 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.6539, allocations: 31.14 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.654, allocations: 92.25 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.654, allocations: 20.36 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.654, allocations: 32.64 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.6541, allocations: 324.4 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.6541, allocations: 26.16 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.6542, allocations: 46.98 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.6544, allocations: 76.73 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6544, allocations: 0.7188 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002092/0.6546, allocations: 107.4 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6546, allocations: 12.58 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6546, allocations: 0.9688 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.6546, allocations: 1.594 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.6547, allocations: 11.11 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6547, allocations: 5.531 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.6548, allocations: 13.64 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.6548, allocations: 7.516 kB / 1.092 GB, free: 1.449 MB / 0.8575 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 5.436e-05/0.6549, allocations: 123.9 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.6549, allocations: 7.219 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.6549, allocations: 7.344 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6549, allocations: 0.7812 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6549, allocations: 4.625 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.655, allocations: 5.406 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.6553, allocations: 378.3 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6553, allocations: 0.9375 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.6553, allocations: 4.781 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6554, allocations: 0.7812 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.6554, allocations: 6.156 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6554, allocations: 5.266 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6554, allocations: 480 / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.6556, allocations: 220.2 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.6556, allocations: 83.59 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.6557, allocations: 1.641 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.6557, allocations: 7.656 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.6558, allocations: 9.375 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.6558, allocations: 3.5 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.6558, allocations: 100.5 kB / 1.093 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6558, allocations: 0 / 1.093 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002681/0.6561, allocations: 42.55 kB / 1.093 GB, free: 0.5898 MB / 0.8575 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.0006114/0.6567, allocations: 0.8068 MB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6569, allocations: 71.91 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.657, allocations: 0.5625 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.6571, allocations: 32.94 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.6573, allocations: 8.75 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6587, allocations: 1.494 MB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.6589, allocations: 0.6869 MB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.6589, allocations: 12.73 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.659, allocations: 21.61 kB / 1.097 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.659, allocations: 0 / 1.097 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.864/3.523, allocations: 2.639 MB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.732/13.25, allocations: 9.453 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,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.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed