Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001128/0.001128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003866, allocations: 12.03 kB / 0.9021 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 159.6 MB / 1.058 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00224/0.3508, allocations: 1.19 MB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3523, allocations: 0.6859 MB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.3524, allocations: 0 / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.3525, allocations: 0 / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3526, allocations: 15.81 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.3534, allocations: 91.77 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3535, allocations: 63.78 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3537, allocations: 11.98 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3538, allocations: 27.91 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.3539, allocations: 31.84 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3539, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.3542, allocations: 87.91 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.3542, allocations: 11.92 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.3543, allocations: 37.7 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3545, allocations: 96.05 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3545, allocations: 0 / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3545, allocations: 0 / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3546, allocations: 0 / 1.06 GB, free: 2.91 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.0008054/0.3554, allocations: 434.6 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.3554, allocations: 8.031 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.3555, allocations: 7.906 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3557, allocations: 178.8 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.3558, allocations: 7.953 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3558, allocations: 4 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.356, allocations: 73.66 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3561, allocations: 0 / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3561, allocations: 4 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3561, allocations: 0 / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.3563, allocations: 43.97 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.3569, allocations: 300.7 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3571, allocations: 50.56 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.3572, allocations: 32.97 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3573, allocations: 4 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.3575, allocations: 83.38 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.3575, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004587/0.358, allocations: 145.5 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.3581, allocations: 59.39 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3582, allocations: 121.8 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3582, allocations: 29.7 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3583, allocations: 92.22 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.3583, allocations: 15.84 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.3583, allocations: 0 / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3585, allocations: 326.8 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.3586, allocations: 23.92 kB / 1.062 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3587, allocations: 65.14 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.3588, allocations: 39.92 kB / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3588, allocations: 3.938 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002566/0.3591, allocations: 117.4 kB / 1.062 GB, free: 444 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3591, allocations: 4 kB / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3591, allocations: 4 kB / 1.062 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3591, allocations: 160 / 1.062 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3593, allocations: 19.98 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3593, allocations: 3.938 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.3594, allocations: 15.91 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3594, 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: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.3595, allocations: 127.1 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.3595, allocations: 7.953 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.3596, allocations: 12.36 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3596, allocations: 8 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3596, allocations: 0 / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3596, allocations: 0 / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.3602, allocations: 382.4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3602, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.3602, allocations: 7.984 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3602, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3603, allocations: 4 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3603, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3603, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3606, allocations: 215.4 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.3606, allocations: 89.05 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3607, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.3607, allocations: 4 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3608, allocations: 7.984 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3608, allocations: 7.938 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.3609, allocations: 99.86 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3609, allocations: 0 / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003296/0.3612, allocations: 43.89 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004056/0.3617, allocations: 158.3 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3619, allocations: 68.16 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3619, allocations: 4.062 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.362, allocations: 51.89 kB / 1.064 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.0002812/0.3623, allocations: 9.5 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.3628, allocations: 210.2 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3631, allocations: 0.6887 MB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.3631, allocations: 4.188 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3631, allocations: 11.44 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3632, allocations: 4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.004398/0.3676, allocations: 1.332 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time