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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 65.89 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3562, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00265/0.3589, allocations: 1.49 MB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3602, allocations: 0.7438 MB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3602, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.3603, allocations: 3.938 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.3603, allocations: 15.86 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.3609, allocations: 115.6 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.361, allocations: 75.77 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.3611, allocations: 23.97 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.3612, allocations: 27.92 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.3612, allocations: 43.81 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3613, allocations: 8 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3615, allocations: 95.84 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.3615, allocations: 19.92 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.3616, allocations: 31.86 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3618, allocations: 139.9 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.3618, allocations: 8 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3618, allocations: 0 / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3618, allocations: 0 / 1.071 GB, free: 7.57 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.000587/0.3624, allocations: 409 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3624, allocations: 12.03 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.3625, allocations: 8.844 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3626, allocations: 176.2 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3626, allocations: 4.375 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3627, allocations: 12.31 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3628, allocations: 69.97 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3629, allocations: 3.984 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3629, allocations: 7.984 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3629, allocations: 0 / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.363, allocations: 35.92 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.3636, allocations: 316.8 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3637, allocations: 50.5 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.3638, allocations: 36.97 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3638, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.364, allocations: 87.44 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.364, allocations: 3.938 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003765/0.3644, allocations: 137.5 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3644, allocations: 59.39 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.3645, allocations: 121.8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3646, allocations: 29.7 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.3646, allocations: 92.12 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3646, allocations: 19.75 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3647, allocations: 25.7 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3648, allocations: 322.8 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.3649, allocations: 31.97 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.365, allocations: 42.56 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3652, allocations: 82.47 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3652, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.3654, allocations: 113.5 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3654, allocations: 5.562 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3654, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3655, allocations: 4 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.3655, allocations: 12.06 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3656, allocations: 3.984 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.3656, allocations: 7.938 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3656, allocations: 4 kB / 1.073 GB, free: 5.023 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 8.986e-05/0.3657, allocations: 125 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.3658, allocations: 7.906 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.3658, allocations: 12.36 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3658, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3658, allocations: 8 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3658, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.3662, allocations: 386.3 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3663, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.3663, allocations: 4 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3663, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3663, allocations: 3.984 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3663, allocations: 480 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3663, allocations: 7.938 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3666, allocations: 211.4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.3667, allocations: 85.02 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3667, allocations: 3.984 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.3668, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.3668, allocations: 11.92 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3668, allocations: 4 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.3669, allocations: 99.27 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.775e-06/0.3669, allocations: 0 / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002765/0.3672, allocations: 39.88 kB / 1.074 GB, free: 3.938 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.0003103/0.3675, allocations: 164 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.3677, allocations: 87.83 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3678, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.3679, allocations: 35.97 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3681, allocations: 14.27 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.3685, allocations: 176.4 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3688, allocations: 0.6885 MB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.3689, allocations: 4 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.3689, allocations: 11.44 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3689, allocations: 0 / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.004181/0.3731, allocations: 1.448 MB / 1.077 GB, free: 1.273 MB / 0.8262 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