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.005843/0.005843, allocations: 96.7 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.001269/0.001269, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.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.461/2.461, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.25 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3419, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003396/0.3453, allocations: 1.496 MB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3469, allocations: 0.7298 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.347, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3471, allocations: 7.875 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.3471, allocations: 11.86 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.3479, allocations: 123.6 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.348, allocations: 75.78 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3481, allocations: 11.97 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3483, allocations: 39.91 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.3483, allocations: 43.83 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3484, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.3486, allocations: 95.84 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.3486, allocations: 15.92 kB / 1.091 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.3487, allocations: 35.84 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.349, allocations: 139.5 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.349, allocations: 3.938 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.349, allocations: 0 / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.349, allocations: 0 / 1.091 GB, free: 14.79 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.0007118/0.3498, allocations: 424.7 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3498, allocations: 8.031 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.3499, allocations: 8.891 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.35, allocations: 176.2 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3501, allocations: 12.36 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3501, allocations: 4.375 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3503, allocations: 69.91 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3503, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3503, allocations: 8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3503, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3505, allocations: 35.97 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.3511, allocations: 320.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3513, allocations: 58.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.3514, allocations: 28.97 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3514, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.3517, allocations: 71.38 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.3517, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004386/0.3521, allocations: 149.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3522, allocations: 55.47 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3523, allocations: 121.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3523, allocations: 29.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.3524, allocations: 88.14 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3524, allocations: 23.83 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.3525, allocations: 25.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3526, allocations: 318.8 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.3527, allocations: 31.98 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.3528, allocations: 50.55 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.353, allocations: 70.48 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.353, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000244/0.3533, allocations: 113.6 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3533, allocations: 9.25 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3533, allocations: 7.922 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3533, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.3534, allocations: 8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3534, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.3535, allocations: 11.94 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3535, allocations: 0 / 1.093 GB, free: 12.23 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 0.0001117/0.3537, allocations: 133.8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.3537, allocations: 3.953 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.3537, allocations: 16.3 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3537, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3537, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3537, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.3542, allocations: 386.4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3543, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.3543, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.3543, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3543, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3543, allocations: 3.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3543, allocations: 3.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3547, allocations: 215.5 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.3547, allocations: 85 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3547, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.3548, allocations: 7.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3549, allocations: 7.938 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3549, allocations: 11.92 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.355, allocations: 95.92 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.355, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000316/0.3553, allocations: 35.94 kB / 1.094 GB, free: 11.14 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.0003822/0.3557, allocations: 163.1 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.356, allocations: 79.86 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.356, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3561, allocations: 31.98 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3564, allocations: 12.12 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.3568, allocations: 180.3 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3571, allocations: 0.6884 MB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.3571, allocations: 7.75 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.3572, allocations: 11.44 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.3572, allocations: 4 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of Templates: time 0.004729/0.3619, allocations: 1.458 MB / 1.096 GB, free: 8.465 MB / 0.8575 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