Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012WindowsSouth,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.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_10_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.009641/0.009641, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001429/0.00143, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.74/2.74, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002936/0.3417, allocations: 1.499 MB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3431, allocations: 0.7323 MB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.3432, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.3432, allocations: 7.938 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.3433, allocations: 11.86 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.344, allocations: 123.6 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3441, allocations: 87.64 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3442, allocations: 7.984 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.3443, allocations: 35.92 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.3444, allocations: 39.89 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3444, allocations: 8 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.3446, allocations: 99.78 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.3447, allocations: 11.97 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.3447, allocations: 31.86 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.345, allocations: 143.5 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.345, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.345, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.345, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 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.0006694/0.3457, allocations: 432.6 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3457, allocations: 8.031 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.3458, allocations: 8.891 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3459, allocations: 180.2 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.346, allocations: 8.375 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.346, allocations: 4.375 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3462, allocations: 73.95 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3462, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3462, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3462, allocations: 8 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.3464, allocations: 35.97 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.347, allocations: 308.8 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3471, allocations: 54.48 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.3472, allocations: 36.97 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3472, allocations: 4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.3474, allocations: 75.44 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3474, allocations: 0 / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004113/0.3478, allocations: 141.5 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3479, allocations: 55.41 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.348, allocations: 121.8 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.348, allocations: 29.7 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.3481, allocations: 92.09 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3481, allocations: 19.84 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.3482, allocations: 29.64 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3483, allocations: 322.8 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.3484, allocations: 27.98 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.3485, allocations: 50.98 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3487, allocations: 74.48 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3487, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002503/0.3489, allocations: 121.5 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3489, allocations: 8 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.349, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.349, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.3491, allocations: 11.98 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3491, allocations: 4 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.3491, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3492, allocations: 11.92 kB / 1.172 GB, free: 1.438 MB / 0.92 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.0001072/0.3493, allocations: 129.8 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.3493, allocations: 3.953 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.3493, allocations: 8.375 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3493, allocations: 0 / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3494, allocations: 0 / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3494, allocations: 0 / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.3498, allocations: 386.8 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3498, allocations: 4 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.3499, allocations: 11.98 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3499, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3499, allocations: 4 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3499, allocations: 80 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3499, allocations: 7.922 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3502, allocations: 207.4 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.3503, allocations: 89 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3503, allocations: 4 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.3504, allocations: 7.984 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.3504, allocations: 15.88 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.3504, allocations: 0 / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.3505, allocations: 95.42 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3505, allocations: 0 / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002894/0.3508, allocations: 43.92 kB / 1.173 GB, free: 348 kB / 0.92 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.0003336/0.3511, allocations: 156.5 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.3514, allocations: 67.91 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3514, allocations: 0 / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.3515, allocations: 39.95 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3518, allocations: 8 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.3522, allocations: 180.6 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3524, allocations: 0.6884 MB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.3525, allocations: 7.984 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.3525, allocations: 11.44 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3525, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.004282/0.3568, allocations: 1.464 MB / 1.175 GB, free: 13.68 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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