Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005647/0.005647, allocations: 98.22 kB / 15.73 MB, free: 6.012 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.001186/0.001186, allocations: 196 kB / 16.68 MB, free: 5.93 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9549/0.9561, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002711/0.9588, allocations: 1.507 MB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.9601, allocations: 0.7176 MB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.9602, allocations: 4 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.9602, allocations: 7.922 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.9603, allocations: 15.86 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.9609, allocations: 119.6 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.961, allocations: 71.78 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.9611, allocations: 19.94 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.9612, allocations: 39.84 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.9613, allocations: 35.83 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.9613, allocations: 8 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.9615, allocations: 99.91 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.9615, allocations: 23.8 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.9616, allocations: 35.84 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.9618, allocations: 139 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9618, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9618, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9618, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 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.0006824/0.9625, allocations: 417.8 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9625, allocations: 16.61 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.9626, allocations: 8.891 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.9627, allocations: 168.3 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.9627, allocations: 8.375 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.9627, allocations: 4.375 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.9629, allocations: 69.91 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9629, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.9629, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.963, allocations: 7.938 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.9631, allocations: 43.97 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.9637, allocations: 320.7 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.9638, allocations: 46.5 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.9639, allocations: 32.95 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.9639, allocations: 8 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.9641, allocations: 71.38 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.9641, allocations: 0 / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000422/0.9645, allocations: 141.5 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.9645, allocations: 55.47 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.9646, allocations: 129.8 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.9647, allocations: 29.7 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.9647, allocations: 88.14 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.9647, allocations: 19.89 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.9648, allocations: 29.7 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9649, allocations: 314.8 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.965, allocations: 27.98 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-05/0.9651, allocations: 50.55 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.9652, allocations: 74.8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9652, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002443/0.9655, allocations: 113.5 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9655, allocations: 12.06 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.9655, allocations: 3.984 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9655, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.9656, allocations: 8 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9656, allocations: 7.938 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.9657, allocations: 15.86 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.9657, allocations: 4 kB / 1.226 GB, free: 12.73 MB / 0.9512 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.0001031/0.9658, allocations: 128.5 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.9658, allocations: 7.953 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.9658, allocations: 16.36 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.9659, allocations: 0 / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9659, allocations: 0 / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9659, allocations: 0 / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.9663, allocations: 378.4 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9663, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.9663, allocations: 7.938 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9663, allocations: 4 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.9664, allocations: 4 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9664, allocations: 3.984 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9664, allocations: 3.938 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.9666, allocations: 203.5 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.9667, allocations: 85.06 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.9667, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.9668, allocations: 11.98 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.9668, allocations: 11.94 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.9668, allocations: 7.984 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.9669, allocations: 91.92 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9669, allocations: 4 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003099/0.9672, allocations: 35.94 kB / 1.227 GB, free: 11.64 MB / 0.9512 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.0003639/0.9676, allocations: 169.5 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.9678, allocations: 71.94 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9678, allocations: 0 / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.9679, allocations: 31.92 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.9682, allocations: 4 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.9686, allocations: 188.9 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.9688, allocations: 0.6923 MB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.9689, allocations: 4 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.9689, allocations: 11.44 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.9689, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.004348/0.9733, allocations: 1.46 MB / 1.229 GB, free: 8.969 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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