Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00185/0.00185, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.251/2.251, allocations: 390.3 MB / 0.6653 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 63.62 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002763/0.3154, allocations: 1.496 MB / 0.9517 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3167, allocations: 0.7323 MB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.3168, allocations: 0 / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.3168, allocations: 3.938 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.3169, allocations: 15.86 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.3174, allocations: 115.6 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3175, allocations: 79.77 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.3176, allocations: 11.98 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.3177, allocations: 47.83 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.3178, allocations: 35.84 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3178, allocations: 8 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.318, allocations: 91.91 kB / 0.9528 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.3181, allocations: 15.97 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.3182, allocations: 35.8 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.3184, allocations: 139.8 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3184, allocations: 0 / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3185, allocations: 4 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3185, allocations: 0 / 0.953 GB, free: 5.984 MB / 0.7325 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.000642/0.3191, allocations: 420.9 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3192, allocations: 12.03 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.3192, allocations: 16.78 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3194, allocations: 168.3 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3194, allocations: 4.359 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3194, allocations: 8.359 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.3196, allocations: 73.97 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3197, allocations: 4 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3197, allocations: 0 / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3197, allocations: 0 / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3198, allocations: 39.91 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.3204, allocations: 316.7 kB / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3206, allocations: 46.56 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.3207, allocations: 40.97 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3207, allocations: 0 / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.3209, allocations: 83.31 kB / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.321, allocations: 0 / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004065/0.3214, allocations: 137.6 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3214, allocations: 59.39 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3215, allocations: 125.7 kB / 0.9545 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3216, allocations: 29.7 kB / 0.9545 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.3216, allocations: 92.12 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3217, allocations: 15.75 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.3217, allocations: 29.7 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3218, allocations: 322.8 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.3219, allocations: 31.91 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.322, allocations: 46.56 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3222, allocations: 78.84 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3222, allocations: 0 / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002423/0.3224, allocations: 117.5 kB / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3225, allocations: 4 kB / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3225, allocations: 0 / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3225, allocations: 4 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3226, allocations: 15.92 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3226, allocations: 0 / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.3227, allocations: 7.969 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3227, allocations: 12 kB / 0.9553 GB, free: 3.422 MB / 0.7325 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 9.216e-05/0.3228, allocations: 117.8 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.3228, allocations: 7.984 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.3229, allocations: 8.375 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3229, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3229, allocations: 4 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3229, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.3233, allocations: 390.2 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3233, allocations: 7.922 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.3234, allocations: 4 kB / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3234, allocations: 0 / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3234, allocations: 7.922 kB / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3234, allocations: 0 / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3234, allocations: 3.938 kB / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3237, allocations: 211.5 kB / 0.956 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.3238, allocations: 85 kB / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3238, allocations: 4 kB / 0.9561 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.3239, allocations: 0 / 0.9561 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.324, allocations: 15.92 kB / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.324, allocations: 4 kB / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.324, allocations: 91.27 kB / 0.9562 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.324, allocations: 0 / 0.9562 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002952/0.3243, allocations: 40 kB / 0.9562 GB, free: 2.34 MB / 0.7325 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.0003289/0.3247, allocations: 155.4 kB / 0.9564 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3249, allocations: 75.89 kB / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3249, allocations: 0 / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3251, allocations: 44.38 kB / 0.9565 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3253, allocations: 12.14 kB / 0.9565 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.3257, allocations: 210 kB / 0.9567 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.326, allocations: 0.6961 MB / 0.9574 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.3261, allocations: 15.44 kB / 0.9574 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3261, allocations: 0 / 0.9574 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.003455/0.3295, allocations: 1.617 MB / 0.959 GB, free: 15.47 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches