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.009047/0.009047, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.001422/0.001423, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.615/1.615, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.343/2.343, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 75.88 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.671, allocations: 140.3 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002506/0.6736, allocations: 1.51 MB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.6747, allocations: 0.7236 MB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.6748, allocations: 0.9688 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.6748, allocations: 9 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.6749, allocations: 9.844 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.6755, allocations: 126.2 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.6756, allocations: 76.14 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.6757, allocations: 15.62 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.6758, allocations: 35.41 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.6758, allocations: 33.25 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.6758, allocations: 6.875 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.676, allocations: 97.3 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.6761, allocations: 23.75 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.6761, allocations: 27.67 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.6763, allocations: 141.1 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6764, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6764, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6764, allocations: 4 kB / 1.09 GB, free: 3.473 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.0004825/0.6769, allocations: 426.7 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.6769, allocations: 10.09 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.6769, allocations: 33.14 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.677, allocations: 8.812 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.677, allocations: 169.7 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6771, allocations: 6.656 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6771, allocations: 5.031 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.6773, allocations: 72.06 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6773, allocations: 1.094 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.6773, allocations: 4.656 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6773, allocations: 1.062 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.6774, allocations: 51.28 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.6779, allocations: 319 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.678, allocations: 46.02 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.6781, allocations: 31.97 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.6782, allocations: 1.688 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6783, allocations: 76.62 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.6783, allocations: 4 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003693/0.6787, allocations: 141.2 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.6788, allocations: 54.31 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.6788, allocations: 122.8 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.6789, allocations: 31.86 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.6789, allocations: 91.61 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.6789, allocations: 16.19 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.679, allocations: 33.55 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.679, allocations: 323.4 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.6791, allocations: 26.77 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.6792, allocations: 50.59 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6794, allocations: 72.62 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6794, allocations: 0 / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.6796, allocations: 108.7 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6796, allocations: 5.281 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6796, allocations: 1.828 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6796, allocations: 1.344 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.6797, allocations: 19.72 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6797, allocations: 0.7188 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.6798, allocations: 18.09 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6798, allocations: 3.234 kB / 1.092 GB, free: 1.438 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 6.219e-05/0.6799, allocations: 124 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.6799, allocations: 7.844 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.6799, allocations: 6.516 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.68, allocations: 1.375 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.68, allocations: 0.7031 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.68, allocations: 5.094 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.6803, allocations: 382.4 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6804, allocations: 0.5625 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.6804, allocations: 5.234 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6804, allocations: 0.7188 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.6804, allocations: 1.969 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6804, allocations: 5.516 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6804, allocations: 0 / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.6807, allocations: 227.8 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.6807, allocations: 83.75 kB / 1.093 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.6807, allocations: 5.547 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.6808, allocations: 8.938 kB / 1.093 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.6808, allocations: 4.016 kB / 1.093 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.6809, allocations: 8.188 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.6809, allocations: 91.41 kB / 1.093 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6809, allocations: 4 kB / 1.093 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002895/0.6812, allocations: 42.12 kB / 1.093 GB, free: 0.5742 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.0006385/0.6818, allocations: 0.7969 MB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.6821, allocations: 68.05 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6821, allocations: 0.9062 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.6822, allocations: 36.75 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.6824, allocations: 14.48 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.6839, allocations: 1.498 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.6841, allocations: 0.6865 MB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.6841, allocations: 14.2 kB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.6842, allocations: 21.12 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.6842, allocations: 0 / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.21/3.894, allocations: 2.636 MB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.762/13.66, allocations: 4.875 kB / 1.099 GB, free: 13.3 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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