Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009211/0.009211, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.00199/0.001991, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.507/1.507, allocations: 222.9 MB / 240.3 MB, free: 15.15 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.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9707/0.9719, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003006/0.975, allocations: 1.5 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.9763, allocations: 0.7245 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.9764, allocations: 5 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.9764, allocations: 4.547 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.9765, allocations: 10.17 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.9771, allocations: 129 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.9772, allocations: 69.62 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.9773, allocations: 20.08 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.9774, allocations: 35.03 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.9775, allocations: 32.53 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.9776, allocations: 6.031 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.9778, allocations: 99.06 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.9778, allocations: 23.17 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.9779, allocations: 31.7 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.9781, allocations: 137.2 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9782, allocations: 13.25 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9782, allocations: 0 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9782, allocations: 0 / 1.091 GB, free: 3.711 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.0006355/0.9788, allocations: 420.6 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9789, allocations: 9.375 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.9789, allocations: 8.938 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.979, allocations: 170 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.9791, allocations: 3.672 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.9791, allocations: 7.812 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.9793, allocations: 72.08 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.9793, allocations: 0.875 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.9794, allocations: 0.5625 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.9794, allocations: 1.156 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.9795, allocations: 40.11 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.9801, allocations: 322.5 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.9803, allocations: 46.42 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.9804, allocations: 31.19 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.9804, allocations: 2.266 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.9806, allocations: 84.53 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.9806, allocations: 4 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004607/0.9811, allocations: 141.7 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.9811, allocations: 54.33 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.9812, allocations: 118.7 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.9812, allocations: 27.3 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.9813, allocations: 96.23 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.9813, allocations: 7.969 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.9814, allocations: 33.34 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.9814, allocations: 323.7 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.9815, allocations: 26.78 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.9817, allocations: 55.39 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.9818, allocations: 72.36 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9818, allocations: 0 / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002418/0.9821, allocations: 108.2 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9821, allocations: 6.297 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9821, allocations: 0.9688 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9821, allocations: 1.094 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.9823, allocations: 16.25 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9823, allocations: 9.531 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.9823, allocations: 16.53 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.9824, allocations: 8.734 kB / 1.093 GB, free: 1.727 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 7.864e-05/0.9825, allocations: 119.1 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.9825, allocations: 7.969 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.9825, allocations: 14.27 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.9825, allocations: 1.031 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9825, allocations: 1.531 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.9826, allocations: 4.656 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.983, allocations: 382.8 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.983, allocations: 0 / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.9831, allocations: 4.719 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9831, allocations: 1.25 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.9831, allocations: 2.766 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9831, allocations: 0.6875 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9831, allocations: 3.938 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.9834, allocations: 215.1 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.9834, allocations: 80.59 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.9835, allocations: 9.469 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.9836, allocations: 4.328 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.9836, allocations: 8.891 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.9836, allocations: 3.594 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.9837, allocations: 100.5 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9837, allocations: 0 / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003578/0.9841, allocations: 46.22 kB / 1.094 GB, free: 0.8672 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.000364/0.9844, allocations: 157.7 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.9847, allocations: 73.05 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9847, allocations: 4 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.9848, allocations: 33.23 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.9851, allocations: 8.859 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.9856, allocations: 181.9 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.9858, allocations: 0.6875 MB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.9858, allocations: 12.8 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.9858, allocations: 10.7 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9859, allocations: 0.8438 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.005066/0.9909, allocations: 1.459 MB / 1.096 GB, free: 15.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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