Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, 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.001155/0.001155, allocations: 195.1 kB / 16.14 MB, free: 6.691 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.08 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6596, allocations: 140.4 MB / 0.9489 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002295/0.662, allocations: 1.538 MB / 0.9504 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.6631, allocations: 0.7369 MB / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.6631, allocations: 0 / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.6632, allocations: 0 / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.6632, allocations: 10.06 kB / 0.9512 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.6637, allocations: 104.9 kB / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.6639, allocations: 71.44 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.6639, allocations: 17.91 kB / 0.9513 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.664, allocations: 29.31 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.6641, allocations: 33.06 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.6641, allocations: 4.156 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.6643, allocations: 89.06 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.6643, allocations: 14.7 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.6644, allocations: 33.25 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.6646, allocations: 135.7 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6646, allocations: 0 / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6646, allocations: 0 / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.6646, allocations: 1.406 kB / 0.9517 GB, free: 7.363 MB / 0.7169 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.0005192/0.6651, allocations: 444.5 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.6652, allocations: 13.52 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.6652, allocations: 3.906 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.6653, allocations: 173 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.6654, allocations: 9.844 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.6654, allocations: 8.25 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.6656, allocations: 72.59 kB / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6656, allocations: 0 / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.6656, allocations: 5.328 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6656, allocations: 0 / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.6658, allocations: 32.98 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.6662, allocations: 308.5 kB / 0.9527 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.6663, allocations: 48.28 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.6664, allocations: 36.5 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.6665, allocations: 5.109 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.6667, allocations: 77.16 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.6667, allocations: 0 / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00039/0.6671, allocations: 134.7 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.6671, allocations: 57.53 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.6672, allocations: 121.3 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.6672, allocations: 30.83 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.6673, allocations: 86.2 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.6673, allocations: 22.69 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.6673, allocations: 30.7 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.6674, allocations: 324.5 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.6675, allocations: 20.77 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.6676, allocations: 57.73 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.6677, allocations: 96.48 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6677, allocations: 0 / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002113/0.6679, allocations: 116.3 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.668, allocations: 6 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.668, allocations: 2.281 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.668, allocations: 1.438 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.6681, allocations: 18.27 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6681, allocations: 1.625 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.6682, allocations: 11.53 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6682, allocations: 8.031 kB / 0.9539 GB, free: 5.148 MB / 0.7169 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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 7.163e-05/0.6683, allocations: 127.2 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.6683, allocations: 7.219 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.6683, allocations: 9.969 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.6683, allocations: 1.531 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6683, allocations: 0 / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6684, allocations: 0 / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.6687, allocations: 378.7 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6687, allocations: 0 / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.6688, allocations: 7.734 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6688, allocations: 1.156 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.6688, allocations: 0 / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6688, allocations: 4.875 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6688, allocations: 8.016 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.6691, allocations: 217.6 kB / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.6691, allocations: 86.27 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6691, allocations: 5.375 kB / 0.9548 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.6692, allocations: 2.812 kB / 0.9548 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.6693, allocations: 10.67 kB / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.6693, allocations: 5.281 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.6693, allocations: 97.98 kB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6693, allocations: 0 / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003222/0.6697, allocations: 39.7 kB / 0.9549 GB, free: 4.23 MB / 0.7169 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 (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.0003541/0.67, allocations: 159.2 kB / 0.9551 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.6703, allocations: 68.88 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6703, allocations: 320 / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.6704, allocations: 44.34 kB / 0.9552 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.6707, allocations: 4.219 kB / 0.9552 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.6711, allocations: 208.5 kB / 0.9554 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.6712, allocations: 0.6957 MB / 0.956 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.6712, allocations: 3.625 kB / 0.956 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.6713, allocations: 10.38 kB / 0.9561 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6713, allocations: 0 / 0.9561 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.003693/0.675, allocations: 1.359 MB / 0.9574 GB, free: 2.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time