Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007311/0.007311, allocations: 96.52 kB / 15.73 MB, free: 6.484 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.00167/0.00167, allocations: 192 kB / 16.67 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 72.09 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3416, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002882/0.3445, allocations: 1.503 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3459, allocations: 0.7323 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.346, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.346, allocations: 7.875 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.3461, allocations: 7.875 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.3468, allocations: 127.6 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.347, allocations: 79.75 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3471, allocations: 15.95 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3472, allocations: 31.86 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.3473, allocations: 43.81 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3473, allocations: 8 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.3475, allocations: 95.84 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.3476, allocations: 19.92 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.3476, allocations: 31.86 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3479, allocations: 143.5 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3479, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3479, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3479, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 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.0007222/0.3486, allocations: 424.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3487, allocations: 8.031 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.3487, allocations: 8.891 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3489, allocations: 168.3 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3489, allocations: 8.359 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3489, allocations: 4.375 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3491, allocations: 81.83 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3491, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3491, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3491, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.3493, allocations: 43.97 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.3499, allocations: 312.7 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.35, allocations: 50.5 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.3501, allocations: 28.97 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3501, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.3503, allocations: 79.38 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3503, allocations: 0 / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003963/0.3507, allocations: 141.5 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3507, allocations: 55.41 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3509, allocations: 121.8 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3509, allocations: 29.7 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.3509, allocations: 92.12 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3509, allocations: 15.97 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.351, allocations: 29.7 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3511, allocations: 322.8 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.3512, allocations: 27.98 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.3513, allocations: 51.42 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3515, allocations: 79.34 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3515, allocations: 4 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002565/0.3517, allocations: 117.5 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3517, allocations: 5.875 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3517, allocations: 8 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3518, allocations: 7.922 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3519, allocations: 11.94 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3519, allocations: 4 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.427e-05/0.352, allocations: 15.98 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.352, allocations: 4 kB / 1.226 GB, free: 8.395 MB / 0.9825 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 0.0001021/0.3521, allocations: 122.3 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.3521, allocations: 3.953 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.3521, allocations: 16.36 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3521, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3521, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3521, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.3526, allocations: 386.7 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3526, allocations: 4 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.3526, allocations: 4 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.3526, allocations: 4 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3527, allocations: 0 / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3527, allocations: 3.984 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3527, allocations: 3.938 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3529, allocations: 211.4 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.353, allocations: 81.06 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.353, allocations: 0 / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3531, allocations: 12.03 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.3531, allocations: 11.92 kB / 1.226 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3531, allocations: 3.984 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.3532, allocations: 95.92 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3532, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003227/0.3535, allocations: 39.88 kB / 1.227 GB, free: 7.305 MB / 0.9825 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.0003726/0.3539, allocations: 171.7 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3541, allocations: 71.89 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3541, allocations: 0 / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.3542, allocations: 40.05 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3545, allocations: 7.984 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.3549, allocations: 188.1 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3552, allocations: 0.6903 MB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.3552, allocations: 8 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.3553, allocations: 11.44 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of SimCode: time 7.42e-07/0.3553, allocations: 0 / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of Templates: time 0.004564/0.3598, allocations: 1.461 MB / 1.229 GB, free: 4.625 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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