Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005868/0.005868, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.4/2.4, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7464, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001613/0.7481, allocations: 1.212 MB / 0.9562 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.7494, allocations: 0.718 MB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.7494, allocations: 5.406 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.7494, allocations: 0 / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.7495, allocations: 9.234 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.75, allocations: 108.7 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.447e-05/0.7501, allocations: 78.61 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.7502, allocations: 12.89 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.7503, allocations: 29.44 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.7503, allocations: 39.45 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.7504, allocations: 3.5 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.7506, allocations: 89.94 kB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.7506, allocations: 13.62 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.7507, allocations: 53.94 kB / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.7509, allocations: 134.9 kB / 0.9575 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7509, allocations: 3.984 kB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7509, allocations: 1.656 kB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7509, allocations: 0 / 0.9575 GB, free: 5.852 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.000517/0.7514, allocations: 408.1 kB / 0.9579 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.7515, allocations: 10.19 kB / 0.9579 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.7515, allocations: 11.8 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.7516, allocations: 176.2 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.7516, allocations: 2.656 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.7517, allocations: 11.84 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.7518, allocations: 72.41 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7519, allocations: 0 / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7519, allocations: 0 / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7519, allocations: 1.469 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.752, allocations: 49.67 kB / 0.9582 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.7526, allocations: 318.9 kB / 0.9585 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.7527, allocations: 58.17 kB / 0.9585 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.7528, allocations: 34.88 kB / 0.9586 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.7528, allocations: 1.312 kB / 0.9586 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.753, allocations: 87.47 kB / 0.9587 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.753, allocations: 1.375 kB / 0.9587 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003768/0.7534, allocations: 151.9 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7534, allocations: 54.16 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.7535, allocations: 121 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7535, allocations: 31.08 kB / 0.959 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.7536, allocations: 93.42 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.7536, allocations: 14.55 kB / 0.9591 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.7536, allocations: 17.84 kB / 0.9591 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.7537, allocations: 325.5 kB / 0.9594 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.7538, allocations: 32.42 kB / 0.9595 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.7539, allocations: 51.91 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.754, allocations: 83.73 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7541, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.7543, allocations: 122.7 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7543, allocations: 6.625 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7543, allocations: 1.312 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7544, allocations: 1.406 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.7544, allocations: 13.23 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7545, allocations: 0.9375 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.7545, allocations: 13.03 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.7546, allocations: 3.781 kB / 0.9598 GB, free: 3.715 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 7.006e-05/0.7546, allocations: 127 kB / 0.9599 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.7546, allocations: 5.969 kB / 0.9599 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.7547, allocations: 11.06 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7547, allocations: 0 / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7547, allocations: 1.312 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7547, allocations: 0 / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.7551, allocations: 392.9 kB / 0.9603 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7551, allocations: 0 / 0.9603 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.7551, allocations: 8.078 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7552, allocations: 1.25 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7552, allocations: 5.156 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7552, allocations: 0 / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7552, allocations: 7.938 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.7555, allocations: 220 kB / 0.9605 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.7555, allocations: 82.73 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.7555, allocations: 1.281 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.7556, allocations: 8.625 kB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.7556, allocations: 18.44 kB / 0.9606 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.7557, allocations: 5.25 kB / 0.9606 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.7557, allocations: 96.67 kB / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7557, allocations: 0 / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002939/0.756, allocations: 40.89 kB / 0.9607 GB, free: 2.789 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.0003298/0.7563, allocations: 160.6 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.7566, allocations: 80.19 kB / 0.961 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7566, allocations: 0 / 0.961 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.7567, allocations: 35.36 kB / 0.961 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.757, allocations: 17.33 kB / 0.961 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.7573, allocations: 202.7 kB / 0.9612 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.7574, allocations: 0.6916 MB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.7575, allocations: 8.125 kB / 0.9619 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.7575, allocations: 10.19 kB / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of SimCode: time 1.303e-06/0.7575, allocations: 0 / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.003927/0.7614, allocations: 1.358 MB / 0.9632 GB, free: 1.016 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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