Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001111/0.001112, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001262/0.001262, allocations: 168.7 kB / 15.95 MB, free: 204 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.522/1.522, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.01/3.01, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 7.438 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002013/0.3613, allocations: 1.198 MB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3627, allocations: 0.6781 MB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.3627, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.3628, allocations: 3.938 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.3629, allocations: 15.92 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.3634, allocations: 91.78 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3636, allocations: 63.77 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.3637, allocations: 15.92 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.3638, allocations: 23.92 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.3639, allocations: 27.91 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3639, allocations: 8 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.3642, allocations: 79.86 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.3642, allocations: 15.97 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.3643, allocations: 37.64 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.3645, allocations: 104 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3645, allocations: 0 / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3645, allocations: 0 / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3645, allocations: 0 / 1.06 GB, free: 2.926 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.0006254/0.3652, allocations: 430.6 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3652, allocations: 8.031 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.3653, allocations: 7.906 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3654, allocations: 170.9 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.3655, allocations: 7.953 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3655, allocations: 8 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3657, allocations: 77.56 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3657, allocations: 0 / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3657, allocations: 4 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3657, allocations: 0 / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3659, allocations: 43.97 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.3664, allocations: 288.8 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3666, allocations: 58.5 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.3667, allocations: 40.95 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3667, allocations: 0 / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.3669, allocations: 79.38 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/0.3669, allocations: 3.984 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004297/0.3673, allocations: 153.5 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3674, allocations: 51.41 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3675, allocations: 133.7 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3675, allocations: 29.64 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3676, allocations: 96.23 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3676, allocations: 11.83 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.3676, allocations: 4 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3678, allocations: 322.8 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3678, allocations: 23.98 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.3679, allocations: 69.12 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.468e-05/0.368, allocations: 28 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.368, allocations: 3.984 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.3683, allocations: 117.4 kB / 1.062 GB, free: 460 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3683, allocations: 8 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3683, allocations: 3.938 kB / 1.062 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3683, allocations: 8.156 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.3684, allocations: 8 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3684, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.3685, allocations: 11.89 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3685, allocations: 4 kB / 1.063 GB, free: 412 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.0001074/0.3687, allocations: 134.8 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.3687, allocations: 3.906 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.3687, allocations: 16.36 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3687, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3687, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3687, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.3692, allocations: 382.5 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3692, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.3693, allocations: 11.94 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3693, allocations: 3.938 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3693, allocations: 3.984 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3693, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3693, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3696, allocations: 211.8 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.3697, allocations: 81.11 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.3697, allocations: 7.984 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.3698, allocations: 8 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3699, allocations: 3.984 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3699, allocations: 4 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.142e-05/0.37, allocations: 91.27 kB / 1.063 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.37, allocations: 0 / 1.063 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000314/0.3703, allocations: 39.91 kB / 1.063 GB, free: 15.31 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.0003913/0.3707, allocations: 174.4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3709, allocations: 76.19 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.371, allocations: 8 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3711, allocations: 31.98 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3714, allocations: 15.94 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.3718, allocations: 218 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3722, allocations: 0.6848 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.3723, allocations: 8.172 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3723, allocations: 11.44 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3723, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.004307/0.3766, allocations: 1.324 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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