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.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 132 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.0016/0.0016, allocations: 190.1 kB / 16.53 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.16 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002902/0.3528, allocations: 1.499 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3541, allocations: 0.7361 MB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.3542, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.3542, allocations: 3.938 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.3543, allocations: 11.88 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.3549, allocations: 123.6 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.355, allocations: 67.84 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3551, allocations: 15.97 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.3552, allocations: 39.84 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.3553, allocations: 35.84 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3553, allocations: 4 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.3555, allocations: 99.91 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.3556, allocations: 27.89 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.3556, allocations: 27.86 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3559, allocations: 147.8 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.555 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.0006189/0.3565, allocations: 409 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3566, allocations: 12.03 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.3566, allocations: 8.844 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3567, allocations: 176.2 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3568, allocations: 8.375 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3568, allocations: 4.375 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.357, allocations: 69.95 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.357, allocations: 0 / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.357, allocations: 11.94 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.357, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3572, allocations: 43.91 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.3577, allocations: 308.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3579, allocations: 54.55 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.358, allocations: 36.97 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.358, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3582, allocations: 79.3 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3582, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/0.3586, allocations: 141.6 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3586, allocations: 51.41 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.3587, allocations: 129.7 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3588, allocations: 33.7 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.3588, allocations: 84.14 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.3588, allocations: 19.75 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3589, allocations: 25.7 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.359, allocations: 322.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.3591, allocations: 31.92 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.3592, allocations: 54.55 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3593, allocations: 62.56 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3594, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002349/0.3596, allocations: 125.8 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3596, allocations: 9.562 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3596, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3596, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.3597, allocations: 15.92 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3598, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.3598, allocations: 8 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3598, allocations: 7.922 kB / 1.073 GB, free: 5.004 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 9.976e-05/0.36, allocations: 133.4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.36, allocations: 3.906 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.36, allocations: 8.375 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.36, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.36, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.36, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.3604, allocations: 382.4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3605, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.3605, allocations: 11.98 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3605, allocations: 4 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3605, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3605, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3605, allocations: 3.938 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.3608, allocations: 223.3 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.3609, allocations: 81.02 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3609, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.361, allocations: 11.98 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.361, allocations: 7.938 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.361, allocations: 0 / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.718e-05/0.3611, allocations: 99.92 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3611, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002952/0.3614, allocations: 39.98 kB / 1.074 GB, free: 3.918 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.0003337/0.3617, allocations: 155.2 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.362, allocations: 75.89 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.362, allocations: 3.938 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.3621, allocations: 35.92 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3624, allocations: 8 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.3628, allocations: 185 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.363, allocations: 0.6846 MB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.363, allocations: 11.92 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.3631, allocations: 15.44 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3631, allocations: 0 / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.003872/0.367, allocations: 1.455 MB / 1.077 GB, free: 1.25 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