Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001533/0.001533, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.924/2.924, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004303, allocations: 11.94 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8648, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00203/0.8669, allocations: 1.211 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.8682, allocations: 0.6784 MB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.8683, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.8683, allocations: 7.922 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.8684, allocations: 7.922 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.869, allocations: 95.77 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.8691, allocations: 63.78 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.8693, allocations: 11.98 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.8693, allocations: 31.92 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.8694, allocations: 39.81 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.8695, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.8697, allocations: 83.92 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.8697, allocations: 11.92 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.8698, allocations: 37.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.87, allocations: 101.7 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.87, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.87, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.87, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 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.0006798/0.8707, allocations: 408.8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8707, allocations: 12.56 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.8708, allocations: 11.84 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.871, allocations: 171 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.871, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.871, allocations: 7.953 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.8712, allocations: 73.66 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.8713, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.8713, allocations: 4 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8713, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.8714, allocations: 39.97 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.872, allocations: 332.7 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.8722, allocations: 50.55 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.8723, allocations: 36.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.8723, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.8725, allocations: 83.31 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8725, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.8729, allocations: 149.6 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.873, allocations: 55.41 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.8731, allocations: 125.7 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.8731, allocations: 33.7 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.8732, allocations: 84.33 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.8732, allocations: 15.81 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.8732, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8733, allocations: 334.7 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.8734, allocations: 27.98 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.8735, allocations: 50.55 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.8736, allocations: 39.92 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8736, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003327/0.874, allocations: 113.5 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.874, allocations: 7.984 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.874, allocations: 4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.874, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.8741, allocations: 16.05 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8741, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.8742, allocations: 15.83 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.8742, allocations: 8 kB / 1.027 GB, free: 11.12 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8743, allocations: 125.7 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.8744, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.8744, allocations: 8.359 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8744, allocations: 4 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8744, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8744, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.8749, allocations: 386.4 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8749, allocations: 0 / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.8749, allocations: 7.938 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8749, allocations: 4 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.875, allocations: 11.92 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.875, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.875, allocations: 480 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.8753, allocations: 223.3 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.8753, allocations: 81.11 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.8753, allocations: 7.984 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.8754, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.8755, allocations: 3.984 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.8755, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.8755, allocations: 95.27 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8755, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002865/0.8758, allocations: 32 kB / 1.028 GB, free: 10.03 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/0.8762, allocations: 173 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.8764, allocations: 75.95 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8765, allocations: 4.125 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.8766, allocations: 39.92 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.8768, allocations: 11.94 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.8772, allocations: 209 kB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.8775, allocations: 0.6848 MB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.8775, allocations: 8.156 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.8776, allocations: 11.44 kB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8776, allocations: 0 / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.004401/0.882, allocations: 1.335 MB / 1.03 GB, free: 7.438 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0