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.001327/0.001327, allocations: 106.1 kB / 15.98 MB, free: 6.332 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.001291/0.001291, allocations: 198.6 kB / 16.91 MB, free: 6.18 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.522/1.522, allocations: 222.9 MB / 240.6 MB, free: 13.67 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.673/2.673, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001865, allocations: 69.36 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3341, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002956/0.3371, allocations: 1.56 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3384, allocations: 0.7246 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.3385, allocations: 4 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.3385, allocations: 3.984 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.3386, allocations: 11.88 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.3391, allocations: 103.8 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3393, allocations: 71.84 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3394, allocations: 19.97 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3395, allocations: 31.91 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.3396, allocations: 43.83 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3396, allocations: 4 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.3398, allocations: 99.84 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.3399, allocations: 23.91 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.3399, allocations: 27.86 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.3401, allocations: 108 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3401, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3401, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3402, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 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.0006687/0.3408, allocations: 421 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3409, allocations: 12.56 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.3409, allocations: 12.84 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3411, allocations: 176.2 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3411, allocations: 384 / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3411, allocations: 12.36 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3413, allocations: 69.97 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.3413, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3413, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3414, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3415, allocations: 35.97 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.3421, allocations: 316.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3423, allocations: 50.5 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.3424, allocations: 32.97 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3424, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3426, allocations: 75.38 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3427, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004128/0.3431, allocations: 141.7 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.3431, allocations: 59.39 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3432, allocations: 117.8 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3433, allocations: 25.7 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.3434, allocations: 104.1 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3434, allocations: 11.75 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.3434, allocations: 29.7 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3436, allocations: 322.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.3437, allocations: 35.97 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3438, allocations: 46.5 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.344, allocations: 78.55 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.344, allocations: 0 / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002496/0.3443, allocations: 109.6 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3443, allocations: 4 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3443, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3443, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3444, allocations: 15.98 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3444, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.3445, allocations: 7.906 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.3445, allocations: 4 kB / 1.069 GB, free: 9.738 MB / 0.8419 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.0001071/0.3447, allocations: 127.5 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.3447, allocations: 15.83 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.3447, allocations: 8.375 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3447, allocations: 4 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3447, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3447, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.3453, allocations: 390.3 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3453, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.3453, allocations: 4 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3453, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3453, allocations: 3.984 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3454, allocations: 4 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3454, allocations: 7.938 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3457, allocations: 203.4 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.3457, allocations: 89 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3458, allocations: 4 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.3459, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3459, allocations: 7.922 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3459, allocations: 7.938 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.346, allocations: 95.86 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.346, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003019/0.3463, allocations: 36 kB / 1.07 GB, free: 8.648 MB / 0.8419 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.000401/0.3467, allocations: 166.2 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.347, allocations: 84.09 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.347, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3471, allocations: 32.11 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3474, allocations: 15.98 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.3478, allocations: 210.1 kB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3482, allocations: 0.6924 MB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3482, allocations: 11.44 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3482, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of Templates: time 0.003814/0.3521, allocations: 1.618 MB / 1.073 GB, free: 5.777 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches