Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001924/0.001924, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.555/1.555, allocations: 222.9 MB / 240.6 MB, free: 4.559 MB / 190.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.436/2.436, allocations: 390.2 MB / 0.665 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.88 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6389/0.6403, allocations: 140.3 MB / 0.9498 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002623/0.643, allocations: 1.554 MB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.6441, allocations: 0.7182 MB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.6442, allocations: 5.312 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.6442, allocations: 0 / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.398e-05/0.6443, allocations: 9.297 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.6448, allocations: 110.5 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.6449, allocations: 82.91 kB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.645, allocations: 17.55 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.6451, allocations: 38.58 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.6451, allocations: 38.47 kB / 0.9523 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.6452, allocations: 6.438 kB / 0.9523 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.6454, allocations: 98.28 kB / 0.9524 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.6454, allocations: 14.81 kB / 0.9524 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.6454, allocations: 36.48 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.6456, allocations: 101.1 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6457, allocations: 3.984 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6457, allocations: 4 kB / 0.9525 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6457, allocations: 0 / 0.9525 GB, free: 7.02 MB / 0.7169 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.000506/0.6462, allocations: 420.1 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6462, allocations: 9.562 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.6463, allocations: 4.125 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.6463, allocations: 171.8 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.6464, allocations: 3.688 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.6464, allocations: 8.031 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6466, allocations: 76.06 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.6466, allocations: 0 / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.6466, allocations: 1.281 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6466, allocations: 1.25 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.6468, allocations: 36.28 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6473, allocations: 325 kB / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6474, allocations: 49.28 kB / 0.9536 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.6475, allocations: 35.8 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.6475, allocations: 5.281 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.6477, allocations: 80.97 kB / 0.9537 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.6477, allocations: 0 / 0.9537 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000367/0.6481, allocations: 131.7 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.6481, allocations: 62.16 kB / 0.9539 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.6482, allocations: 121 kB / 0.954 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.6482, allocations: 27.17 kB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.6482, allocations: 90.89 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.6483, allocations: 13.41 kB / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.6483, allocations: 34.2 kB / 0.9542 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.772e-05/0.6484, allocations: 325.5 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.6484, allocations: 22.17 kB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.6485, allocations: 52.56 kB / 0.9545 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.6487, allocations: 77.12 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6487, allocations: 1.188 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002145/0.6489, allocations: 109.6 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6489, allocations: 8.469 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6489, allocations: 1.344 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.649, allocations: 5.781 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.6491, allocations: 11.83 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6491, allocations: 8.938 kB / 0.9548 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.6492, allocations: 12.31 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.6492, allocations: 6.797 kB / 0.9548 GB, free: 4.875 MB / 0.7169 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 6.616e-05/0.6493, allocations: 123.1 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.6493, allocations: 7.094 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.6493, allocations: 13.47 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6493, allocations: 0.9688 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6493, allocations: 4.906 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6493, allocations: 0 / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.6497, allocations: 379.8 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6497, allocations: 0 / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.6498, allocations: 15.55 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6498, allocations: 3.984 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6498, allocations: 0.9375 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6498, allocations: 1.25 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6498, allocations: 3.938 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.65, allocations: 205.2 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.6501, allocations: 82.98 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.6501, allocations: 6 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.6502, allocations: 2.594 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.6502, allocations: 10.86 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.6502, allocations: 1.438 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.6503, allocations: 96.33 kB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6503, allocations: 1.312 kB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.6506, allocations: 39.89 kB / 0.9557 GB, free: 3.969 MB / 0.7169 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.0002985/0.6509, allocations: 159.4 kB / 0.9559 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.6512, allocations: 78.7 kB / 0.956 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6512, allocations: 0 / 0.956 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.362e-05/0.6513, allocations: 37.03 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.6515, allocations: 4.344 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.6519, allocations: 228.1 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.652, allocations: 0.6872 MB / 0.9569 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.6521, allocations: 15.89 kB / 0.9569 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/0.6521, allocations: 0 / 0.9569 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.003418/0.6555, allocations: 1.623 MB / 0.9585 GB, free: 2.039 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches