Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_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_latest_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.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001931/0.001932, allocations: 199.2 kB / 16.14 MB, free: 6.641 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 474.4 MB / 0.7465 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.17 kB / 0.9135 GB, free: 32.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 160.3 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002563/0.3458, allocations: 1.554 MB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.347, allocations: 0.7324 MB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.3471, allocations: 3.938 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3471, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.3472, allocations: 7.922 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3476, allocations: 103.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.3477, allocations: 75.77 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.3478, allocations: 15.97 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.3479, allocations: 31.92 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.348, allocations: 35.83 kB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.348, allocations: 7.938 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.3482, allocations: 91.84 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3482, allocations: 15.92 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.3483, allocations: 27.86 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3485, allocations: 139.9 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3485, allocations: 4 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3485, allocations: 4 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3485, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 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.0005832/0.3491, allocations: 409 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3491, allocations: 12.03 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3492, allocations: 8.844 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3493, allocations: 184.1 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3493, allocations: 4.375 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3494, allocations: 4.375 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3495, allocations: 73.97 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3496, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3496, allocations: 3.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3496, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3497, allocations: 39.97 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.3503, allocations: 312.8 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3505, allocations: 50.5 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.3506, allocations: 32.97 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3506, allocations: 7.969 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.3508, allocations: 87.36 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3508, allocations: 0 / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004037/0.3512, allocations: 137.6 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3513, allocations: 55.41 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3514, allocations: 121.8 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3514, allocations: 29.7 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.3515, allocations: 92.12 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3515, allocations: 15.75 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.3516, allocations: 29.7 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3517, allocations: 326.8 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.3518, allocations: 27.98 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3519, allocations: 42.56 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.3521, allocations: 82.47 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3521, allocations: 0 / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002405/0.3523, allocations: 113.8 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3524, allocations: 4 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3524, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3524, allocations: 4 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3525, allocations: 15.92 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3525, allocations: 8.078 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.3526, allocations: 4 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3526, allocations: 7.984 kB / 1.075 GB, free: 3.211 MB / 0.8262 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 0.0001094/0.3527, allocations: 129.2 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.3527, allocations: 7.906 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.3528, allocations: 8.375 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3528, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3528, allocations: 4 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3528, allocations: 4 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.3533, allocations: 386.3 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3533, allocations: 0 / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.3533, allocations: 7.984 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3533, allocations: 0 / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3533, allocations: 0 / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3533, allocations: 0 / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3534, allocations: 3.938 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3536, allocations: 215.4 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3537, allocations: 81.02 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.3537, allocations: 4 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.3538, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.3539, allocations: 11.92 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3539, allocations: 7.938 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.354, allocations: 95.27 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.354, allocations: 0 / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003018/0.3543, allocations: 39.98 kB / 1.076 GB, free: 2.125 MB / 0.8262 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.000403/0.3547, allocations: 167.1 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3549, allocations: 75.91 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3549, allocations: 0 / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.355, allocations: 39.95 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3553, allocations: 4 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.3557, allocations: 190.3 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.356, allocations: 0.6926 MB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.356, allocations: 7.984 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.356, allocations: 7.438 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3561, allocations: 4 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of Templates: time 0.003761/0.3598, allocations: 1.37 MB / 1.078 GB, free: 15.53 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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