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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009684/0.0009684, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008995/0.008995, allocations: 173.3 kB / 16.26 MB, free: 6.676 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.878/2.878, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 12.88 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001908/0.3339, allocations: 1.221 MB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3353, allocations: 0.7284 MB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.3353, allocations: 0 / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3354, allocations: 0 / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.3354, allocations: 11.86 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.336, allocations: 107.7 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3361, allocations: 63.84 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.3362, allocations: 12 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.3363, allocations: 35.89 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.3364, allocations: 35.84 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3364, allocations: 0 / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.3366, allocations: 95.84 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.3366, allocations: 19.91 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.3367, allocations: 49.56 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3369, allocations: 135.9 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.337, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.337, allocations: 4 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.337, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 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.0005956/0.3376, allocations: 401.1 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3376, allocations: 19.91 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.3377, allocations: 8.844 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3378, allocations: 168.2 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3379, allocations: 4.375 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3379, allocations: 12.38 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3381, allocations: 81.92 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3381, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3381, allocations: 4 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3381, allocations: 0 / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3383, allocations: 39.97 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.3389, allocations: 332.6 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3391, allocations: 50.56 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.3392, allocations: 36.97 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3392, allocations: 7.938 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.3394, allocations: 79.31 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3394, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004102/0.3398, allocations: 149.7 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3399, allocations: 55.39 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.34, allocations: 125.7 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.34, allocations: 25.7 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3401, allocations: 96.12 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3401, allocations: 15.75 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.3401, allocations: 17.72 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3403, allocations: 326.8 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.3404, allocations: 27.98 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.3405, allocations: 54.48 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3406, allocations: 78.56 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3406, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002637/0.3409, allocations: 125.5 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3409, allocations: 5.406 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.341, allocations: 4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.341, allocations: 0 / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.3411, allocations: 15.92 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3411, allocations: 4 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.3412, allocations: 7.984 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3412, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 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.000107/0.3413, allocations: 127.4 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.3413, allocations: 7.906 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.3414, allocations: 4.375 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3414, allocations: 3.938 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3414, allocations: 4 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3414, allocations: 3.984 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.3419, allocations: 398.7 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3419, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3419, allocations: 4 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.342, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.342, allocations: 4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.342, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.342, allocations: 3.938 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3423, allocations: 227.3 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3423, allocations: 81.02 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3424, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.3425, allocations: 7.984 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.3425, allocations: 3.938 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3426, allocations: 11.98 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.3426, allocations: 91.28 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3426, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003117/0.3429, allocations: 39.98 kB / 1.064 GB, free: 15.28 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.0003734/0.3433, allocations: 158.9 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3436, allocations: 83.89 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3436, allocations: 3.938 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3437, allocations: 35.98 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.344, allocations: 6.062 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.3444, allocations: 213.2 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3447, allocations: 0.6887 MB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.3447, allocations: 4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3448, allocations: 19.42 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3448, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.004411/0.3492, allocations: 1.352 MB / 1.067 GB, free: 12.68 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