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.00844/0.008441, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002061/0.002061, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.498/2.498, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 57.69 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3449, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003387/0.3483, allocations: 1.509 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3501, allocations: 0.7259 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.3502, allocations: 7.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.3502, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.3503, allocations: 11.86 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.3511, allocations: 119.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3513, allocations: 71.83 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3515, allocations: 15.98 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3516, allocations: 39.84 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.3517, allocations: 43.83 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3517, allocations: 8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.352, allocations: 87.91 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.3521, allocations: 27.84 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.3522, allocations: 31.86 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.3526, allocations: 139.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3526, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.659e-06/0.3526, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.3526, allocations: 0 / 1.091 GB, free: 14.68 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.001153/0.3538, allocations: 422.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.3539, allocations: 8.031 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.354, allocations: 8.844 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3542, allocations: 176.2 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.3543, allocations: 4.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3543, allocations: 8.312 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.3546, allocations: 77.91 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3547, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.3547, allocations: 7.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3547, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.3549, allocations: 39.97 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.3559, allocations: 312.8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3562, allocations: 54.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3563, allocations: 32.97 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3564, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.3566, allocations: 79.38 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3567, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004373/0.3571, allocations: 149.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3572, allocations: 55.39 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3573, allocations: 117.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3573, allocations: 29.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.3574, allocations: 99.97 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3574, allocations: 7.906 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3574, allocations: 29.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3576, allocations: 318.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.3576, allocations: 35.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.3577, allocations: 42.56 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.358, allocations: 78.78 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.358, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000326/0.3583, allocations: 117.5 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3583, allocations: 7.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3584, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3584, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3585, allocations: 8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3585, allocations: 3.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.3586, allocations: 7.906 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.3587, allocations: 4 kB / 1.093 GB, free: 12.13 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.0001463/0.3588, allocations: 129.8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.3588, allocations: 7.906 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.3589, allocations: 8.359 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3589, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3589, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3589, allocations: 3.984 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/0.3596, allocations: 386.4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3596, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.3596, allocations: 11.88 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3596, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3597, allocations: 3.984 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3597, allocations: 4 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3597, allocations: 3.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.3601, allocations: 211.4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.3601, allocations: 81.11 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.3602, allocations: 3.984 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3603, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3604, allocations: 7.922 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3604, allocations: 8 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.3605, allocations: 91.27 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3605, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005261/0.3611, allocations: 39.91 kB / 1.094 GB, free: 11.04 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.000491/0.3616, allocations: 165.7 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.3619, allocations: 71.95 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3619, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3621, allocations: 36.31 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3625, allocations: 20.05 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.363, allocations: 179.4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3633, allocations: 0.6885 MB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.3634, allocations: 3.75 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.3634, allocations: 11.44 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.3634, allocations: 4 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of Templates: time 0.004632/0.3681, allocations: 1.454 MB / 1.096 GB, free: 8.371 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