Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 97.95 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.006374/0.006374, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.434/2.434, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 12 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7352, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001655/0.7369, allocations: 1.212 MB / 0.9562 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7381, allocations: 0.722 MB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.7382, allocations: 1.375 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.7382, allocations: 0 / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.7383, allocations: 13.2 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.7388, allocations: 102.1 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.7389, allocations: 76.98 kB / 0.9571 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.739, allocations: 22 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.7391, allocations: 25.52 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.7392, allocations: 38.86 kB / 0.9572 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.7392, allocations: 4.156 kB / 0.9572 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.7394, allocations: 89.12 kB / 0.9573 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.7395, allocations: 10.92 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.7395, allocations: 57.19 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.7398, allocations: 135.9 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7398, allocations: 4 kB / 0.9575 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7398, allocations: 0 / 0.9575 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7398, allocations: 0 / 0.9575 GB, free: 5.863 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.0005823/0.7404, allocations: 410.3 kB / 0.9579 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7404, allocations: 9.125 kB / 0.9579 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.7405, allocations: 7.656 kB / 0.9579 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.7406, allocations: 180.6 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.7406, allocations: 7.375 kB / 0.9581 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.7407, allocations: 7.781 kB / 0.9581 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.7409, allocations: 71.81 kB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7409, allocations: 0 / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7409, allocations: 0 / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.7409, allocations: 1.781 kB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.741, allocations: 45.03 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.7416, allocations: 320.9 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.7418, allocations: 51.19 kB / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.7419, allocations: 37.41 kB / 0.9586 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.7419, allocations: 5.359 kB / 0.9586 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.7421, allocations: 80.08 kB / 0.9587 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.7421, allocations: 0 / 0.9587 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.7425, allocations: 157.7 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.7426, allocations: 52.69 kB / 0.9589 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.7427, allocations: 121.1 kB / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.7427, allocations: 31.03 kB / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.7428, allocations: 94.55 kB / 0.9591 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.7428, allocations: 14.22 kB / 0.9591 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.7428, allocations: 23.14 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.7429, allocations: 320.2 kB / 0.9594 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.743, allocations: 33 kB / 0.9595 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.7431, allocations: 51.27 kB / 0.9595 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.7433, allocations: 89 kB / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7433, allocations: 0 / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002428/0.7435, allocations: 131 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7436, allocations: 5.812 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7436, allocations: 1 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.7436, allocations: 1.219 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.7437, allocations: 18.61 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7437, allocations: 1.156 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.7438, allocations: 9.656 kB / 0.9598 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.7438, allocations: 11.55 kB / 0.9598 GB, free: 3.703 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 8.043e-05/0.7439, allocations: 126.4 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.7439, allocations: 7.438 kB / 0.9599 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.7439, allocations: 5.562 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.744, allocations: 1.5 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.744, allocations: 0 / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.744, allocations: 0 / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.7444, allocations: 389.8 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7444, allocations: 0 / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.7444, allocations: 11.45 kB / 0.9603 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.7444, allocations: 1.656 kB / 0.9603 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.7445, allocations: 3.938 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7445, allocations: 1.594 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7445, allocations: 3.938 kB / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.7448, allocations: 223.6 kB / 0.9605 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.7448, allocations: 82.39 kB / 0.9606 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.7448, allocations: 1.375 kB / 0.9606 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.7449, allocations: 8.109 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.745, allocations: 10.69 kB / 0.9606 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.745, allocations: 10.69 kB / 0.9606 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.7451, allocations: 93.55 kB / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7451, allocations: 0 / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003076/0.7454, allocations: 43.42 kB / 0.9608 GB, free: 2.785 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,occ.y,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.0004041/0.7458, allocations: 167.6 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.746, allocations: 74.7 kB / 0.961 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7461, allocations: 0 / 0.961 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.7462, allocations: 39.3 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.7464, allocations: 6.875 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.0004147/0.7469, allocations: 206.6 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.747, allocations: 0.6903 MB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.7471, allocations: 6.75 kB / 0.9619 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.7471, allocations: 14.17 kB / 0.9619 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.7471, allocations: 1.375 kB / 0.9619 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of Templates: time 0.004051/0.7512, allocations: 1.366 MB / 0.9633 GB, free: 1.008 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0