Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008674/0.008674, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002129/0.002129, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.614/2.614, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9279, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002647/0.9306, allocations: 1.503 MB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.9319, allocations: 0.7332 MB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.932, allocations: 7.938 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.9321, allocations: 3.938 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.9321, allocations: 7.938 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.9327, allocations: 123.5 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.9329, allocations: 75.83 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.933, allocations: 15.95 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.9331, allocations: 35.89 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.9332, allocations: 39.84 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.9332, allocations: 8 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.9334, allocations: 95.84 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.9335, allocations: 23.91 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.9335, allocations: 31.86 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.9338, allocations: 139 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9338, allocations: 7.938 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9338, allocations: 0 / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9338, allocations: 0 / 1.228 GB, free: 10.67 MB / 0.9512 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.0006725/0.9345, allocations: 420.6 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.9345, allocations: 12.03 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.9346, allocations: 8.891 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.9347, allocations: 176.3 kB / 1.229 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.9348, allocations: 4.375 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.9348, allocations: 4.375 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.935, allocations: 73.95 kB / 1.229 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.935, allocations: 0 / 1.229 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.935, allocations: 0 / 1.229 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.935, allocations: 4 kB / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.9352, allocations: 43.91 kB / 1.229 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.9358, allocations: 312.7 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.936, allocations: 50.56 kB / 1.229 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.9361, allocations: 40.95 kB / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.9361, allocations: 0 / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.9363, allocations: 79.3 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.9363, allocations: 0 / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003962/0.9367, allocations: 141.7 kB / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.9367, allocations: 59.41 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.9369, allocations: 121.8 kB / 1.23 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.9369, allocations: 33.7 kB / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.9369, allocations: 84.14 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.937, allocations: 15.91 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.937, allocations: 25.7 kB / 1.23 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9372, allocations: 326.8 kB / 1.23 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.9373, allocations: 27.98 kB / 1.23 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.9374, allocations: 59.34 kB / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.9375, allocations: 75.36 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9375, allocations: 0 / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002443/0.9378, allocations: 125.5 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9378, allocations: 4 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9378, allocations: 0 / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.9379, allocations: 4 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.938, allocations: 11.98 kB / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.938, allocations: 0 / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.938, allocations: 11.98 kB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.9381, allocations: 11.98 kB / 1.231 GB, free: 8.102 MB / 0.9512 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.0001247/0.9382, allocations: 130.4 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.9382, allocations: 7.938 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.9383, allocations: 8.375 kB / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9383, allocations: 0 / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9383, allocations: 0 / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9383, allocations: 0 / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.9388, allocations: 386.4 kB / 1.231 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9388, allocations: 4 kB / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.9388, allocations: 4 kB / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9388, allocations: 0 / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.9388, allocations: 7.984 kB / 1.231 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9389, allocations: 0 / 1.231 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9389, allocations: 3.938 kB / 1.231 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.9391, allocations: 199.5 kB / 1.231 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.9392, allocations: 93.05 kB / 1.231 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.9392, allocations: 0 / 1.231 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.9393, allocations: 7.938 kB / 1.231 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.9394, allocations: 19.86 kB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.9394, allocations: 0 / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.44e-05/0.9395, allocations: 91.92 kB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9395, allocations: 0 / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003119/0.9398, allocations: 43.88 kB / 1.232 GB, free: 7.012 MB / 0.9512 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.0004094/0.9402, allocations: 159.9 kB / 1.232 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.9405, allocations: 76.34 kB / 1.232 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9405, allocations: 0 / 1.232 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.9406, allocations: 31.98 kB / 1.232 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.9409, allocations: 18.7 kB / 1.232 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.9413, allocations: 192.1 kB / 1.232 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.9416, allocations: 0.6885 MB / 1.233 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.9417, allocations: 4.094 kB / 1.233 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.9417, allocations: 15.42 kB / 1.233 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.9417, allocations: 4 kB / 1.233 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of Templates: time 0.004251/0.946, allocations: 1.46 MB / 1.234 GB, free: 4.336 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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