Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008807/0.008807, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.499/2.499, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7312, allocations: 142.4 MB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001838/0.7331, allocations: 1.236 MB / 0.9562 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.7345, allocations: 0.738 MB / 0.957 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.7346, allocations: 9.125 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.7346, allocations: 0 / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.7347, allocations: 13.7 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.7354, allocations: 114 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.7355, allocations: 97.72 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.7357, allocations: 9.766 kB / 0.9572 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.7358, allocations: 51.17 kB / 0.9572 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.7359, allocations: 46.84 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.7359, allocations: 4.719 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.7362, allocations: 91.66 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.7362, allocations: 19 kB / 0.9574 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.7363, allocations: 64.12 kB / 0.9575 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.7366, allocations: 157.3 kB / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7366, allocations: 0 / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7366, allocations: 0 / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.7366, allocations: 0 / 0.9576 GB, free: 5.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006079/0.7372, allocations: 447.9 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7373, allocations: 13.58 kB / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.7373, allocations: 8.562 kB / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.7374, allocations: 173.3 kB / 0.9582 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.7375, allocations: 7.031 kB / 0.9582 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.7375, allocations: 5.719 kB / 0.9582 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.7378, allocations: 99.81 kB / 0.9583 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7378, allocations: 0 / 0.9583 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.7378, allocations: 4.875 kB / 0.9583 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7378, allocations: 1.281 kB / 0.9583 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.738, allocations: 50.7 kB / 0.9584 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007572/0.7388, allocations: 356.2 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.7389, allocations: 60.2 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.7391, allocations: 51.45 kB / 0.9588 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.7391, allocations: 1.125 kB / 0.9588 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.7394, allocations: 98.72 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.7394, allocations: 0 / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.74, allocations: 198.3 kB / 0.9591 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.74, allocations: 61.55 kB / 0.9592 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.7401, allocations: 122.2 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.7401, allocations: 31.83 kB / 0.9593 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.7402, allocations: 98.03 kB / 0.9594 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.7402, allocations: 19.31 kB / 0.9594 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.7403, allocations: 22.7 kB / 0.9595 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.7403, allocations: 324.2 kB / 0.9598 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.342e-05/0.7404, allocations: 35.06 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.7405, allocations: 70.81 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.7407, allocations: 98.48 kB / 0.96 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.7407, allocations: 4 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000293/0.741, allocations: 139.3 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.7411, allocations: 5.5 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7411, allocations: 1.375 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.7411, allocations: 1.375 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.7412, allocations: 18.92 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7412, allocations: 6.844 kB / 0.9601 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.7413, allocations: 5.5 kB / 0.9601 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.7414, allocations: 4.125 kB / 0.9601 GB, free: 3.355 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.936e-05/0.7415, allocations: 128.7 kB / 0.9603 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.7415, allocations: 8.031 kB / 0.9603 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.7415, allocations: 9.75 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7415, allocations: 1.375 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.7415, allocations: 4 kB / 0.9603 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7415, allocations: 1.375 kB / 0.9603 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.7421, allocations: 438.1 kB / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7421, allocations: 0 / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.7421, allocations: 13.42 kB / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7422, allocations: 4 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.7422, allocations: 1.375 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.7422, allocations: 1.375 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7422, allocations: 7.922 kB / 0.9607 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.7426, allocations: 246.9 kB / 0.961 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.7426, allocations: 83.77 kB / 0.961 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.7426, allocations: 5.438 kB / 0.961 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.7428, allocations: 9.5 kB / 0.9611 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.7428, allocations: 10.67 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.7428, allocations: 6.734 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.7429, allocations: 94.27 kB / 0.9612 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7429, allocations: 0 / 0.9612 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003479/0.7432, allocations: 38.25 kB / 0.9612 GB, free: 2.395 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003787/0.7436, allocations: 167.2 kB / 0.9614 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.7439, allocations: 104.1 kB / 0.9615 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.744, allocations: 0 / 0.9615 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7441, allocations: 48.83 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.7444, allocations: 18.39 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.7449, allocations: 234.8 kB / 0.9617 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.745, allocations: 0.6898 MB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.883e-05/0.7451, allocations: 7.375 kB / 0.9624 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.7451, allocations: 11.62 kB / 0.9624 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7451, allocations: 4 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.005253/0.7504, allocations: 1.622 MB / 0.964 GB, free: 452 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0