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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001088/0.001088, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001085/0.001085, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.8 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2513, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002821/0.2542, allocations: 1.493 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2555, allocations: 0.7284 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.2556, allocations: 11.94 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.2556, allocations: 3.938 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.2557, allocations: 7.875 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.2562, allocations: 123.6 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.2564, allocations: 79.77 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.2565, allocations: 11.98 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.2566, allocations: 39.84 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.2566, allocations: 39.83 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.2567, allocations: 8 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.2569, allocations: 95.91 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.2569, allocations: 11.98 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.257, allocations: 31.8 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.2572, allocations: 151.5 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2572, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2572, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2572, allocations: 0 / 0.9539 GB, free: 5.191 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.0006167/0.2578, allocations: 420.9 kB / 0.9543 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2579, allocations: 8.031 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.2579, allocations: 8.844 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.258, allocations: 176.3 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2581, allocations: 4.375 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2581, allocations: 8.359 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.2583, allocations: 73.91 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.2583, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2583, allocations: 4 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2583, allocations: 4 kB / 0.9546 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2585, allocations: 35.97 kB / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.2591, allocations: 316.7 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2592, allocations: 46.56 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.2593, allocations: 44.89 kB / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2593, allocations: 0 / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.2595, allocations: 79.45 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2595, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003807/0.2599, allocations: 137.5 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2599, allocations: 63.34 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.26, allocations: 125.8 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.26, allocations: 25.7 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.2601, allocations: 88.14 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.2601, allocations: 15.75 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.2602, allocations: 33.7 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2603, allocations: 322.8 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.2604, allocations: 31.92 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.2605, allocations: 51.41 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2606, allocations: 75.36 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2607, allocations: 4 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.2609, allocations: 117.5 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2609, allocations: 10.03 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2609, allocations: 0 / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2609, allocations: 0 / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.261, allocations: 19.92 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2611, allocations: 4 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.2611, allocations: 7.906 kB / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2612, allocations: 8.375 kB / 0.9561 GB, free: 2.617 MB / 0.7325 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.727e-05/0.2612, allocations: 117.8 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.2613, allocations: 7.984 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.2613, allocations: 8.375 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2613, allocations: 0 / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2613, allocations: 0 / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2613, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.2618, allocations: 402.2 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2618, allocations: 0 / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.2618, allocations: 4 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2618, allocations: 0 / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2619, allocations: 8.047 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2619, allocations: 0 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2619, allocations: 3.938 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2621, allocations: 207.5 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2622, allocations: 85 kB / 0.9569 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.2622, allocations: 8.047 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.2623, allocations: 3.984 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.2623, allocations: 11.92 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.2624, allocations: 4 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.2624, allocations: 91.92 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2624, allocations: 0 / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000293/0.2627, allocations: 36 kB / 0.9571 GB, free: 1.531 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,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.0003244/0.2631, allocations: 165.4 kB / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2633, allocations: 79.88 kB / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2633, allocations: 0 / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.2634, allocations: 36.11 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.2637, allocations: 11.92 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.2641, allocations: 180.3 kB / 0.9575 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2643, allocations: 0.6922 MB / 0.9582 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.2643, allocations: 7.938 kB / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.2644, allocations: 19.42 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2644, allocations: 0 / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of Templates: time 0.003893/0.2683, allocations: 1.459 MB / 0.9597 GB, free: 14.84 MB / 0.7481 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 -s gbode -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/jenkins1/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