Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002072/0.002072, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.857/2.857, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7362, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003344/0.7396, allocations: 1.558 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.7411, allocations: 0.7478 MB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.7412, allocations: 4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.7412, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.7413, allocations: 15.84 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.7418, allocations: 95.84 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.742, allocations: 71.77 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.7421, allocations: 12 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.7422, allocations: 27.91 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.7423, allocations: 43.83 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.7423, allocations: 4 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.7425, allocations: 91.84 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.7425, allocations: 15.92 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.7426, allocations: 31.84 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.7429, allocations: 133.7 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7429, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7429, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7429, allocations: 0 / 1.019 GB, free: 15.92 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.0007573/0.7437, allocations: 425 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7437, allocations: 12.03 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.7438, allocations: 8.844 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.7439, allocations: 176.1 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.744, allocations: 384 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.744, allocations: 4.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.7442, allocations: 81.89 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7442, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.7443, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7443, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.7444, allocations: 35.97 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.7451, allocations: 324.6 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.7453, allocations: 46.56 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.7454, allocations: 32.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.7454, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.7456, allocations: 79.38 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7456, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004535/0.7461, allocations: 141.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.7462, allocations: 63.34 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.7463, allocations: 117.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7463, allocations: 25.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.7464, allocations: 92.12 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.7464, allocations: 15.88 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.7465, allocations: 29.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7467, allocations: 326.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.7468, allocations: 27.98 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.7469, allocations: 43 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.747, allocations: 74.48 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7471, allocations: 0 / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002601/0.7473, allocations: 117.5 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7474, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7474, allocations: 3.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7474, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.7475, allocations: 11.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7475, allocations: 3.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.7476, allocations: 15.84 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.7476, allocations: 4.391 kB / 1.022 GB, free: 13.38 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,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.0001201/0.7477, allocations: 125.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.7478, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.7478, allocations: 8.375 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7478, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7478, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7478, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.7483, allocations: 390.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7484, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.7484, allocations: 7.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7484, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.7484, allocations: 8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7484, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7484, allocations: 7.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.7488, allocations: 207.4 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.7488, allocations: 81.11 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.7489, allocations: 3.938 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.749, allocations: 8 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.749, allocations: 7.922 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.749, allocations: 4 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.7491, allocations: 95.42 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7491, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003183/0.7494, allocations: 43.92 kB / 1.023 GB, free: 12.29 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 (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.0004195/0.7499, allocations: 161.8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.7502, allocations: 75.89 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7502, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.7503, allocations: 36.09 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.7506, allocations: 12 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.751, allocations: 186 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.7514, allocations: 0.6926 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.7515, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.7515, allocations: 15.42 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.7515, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.004695/0.7562, allocations: 1.368 MB / 1.025 GB, free: 9.695 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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