Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01028/0.01028, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001997/0.001997, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 56.12 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.766, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00269/0.7687, allocations: 1.486 MB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.77, allocations: 0.7323 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.77, allocations: 0 / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.7701, allocations: 3.938 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.7702, allocations: 11.88 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.7707, allocations: 127.5 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.7708, allocations: 71.78 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.7709, allocations: 7.984 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.771, allocations: 35.84 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.7711, allocations: 35.84 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.7711, allocations: 4 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.7713, allocations: 95.91 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.7714, allocations: 15.92 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.7714, allocations: 31.86 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.7716, allocations: 140.1 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7716, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7716, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7717, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 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.0005723/0.7722, allocations: 450.4 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.7723, allocations: 8.031 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.7723, allocations: 8.891 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7724, allocations: 176.3 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.7725, allocations: 8.375 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.7725, allocations: 4.375 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.7727, allocations: 69.91 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7727, allocations: 3.984 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7727, allocations: 0 / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7727, allocations: 7.984 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.7729, allocations: 39.92 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.7733, allocations: 300.7 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.7735, allocations: 46.5 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.7736, allocations: 36.95 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.7736, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.7738, allocations: 87.38 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7738, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003929/0.7742, allocations: 141.5 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.7743, allocations: 55.41 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.7744, allocations: 121.8 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.7744, allocations: 33.7 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.7745, allocations: 88.09 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.7745, allocations: 23.89 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.7745, allocations: 21.72 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7747, allocations: 326.8 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.7747, allocations: 19.98 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.7748, allocations: 57.14 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.775, allocations: 93.06 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.775, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002303/0.7753, allocations: 121.5 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7753, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7753, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7753, allocations: 3.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.7754, allocations: 15.98 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7754, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.7755, allocations: 11.94 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7755, allocations: 12.09 kB / 1.172 GB, free: 14.43 MB / 0.9044 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 9.471e-05/0.7756, allocations: 125.7 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.7756, allocations: 7.953 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.7757, allocations: 12.38 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7757, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7757, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7757, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.7762, allocations: 382.4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7762, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.7762, allocations: 11.92 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7762, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.7762, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7762, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7763, allocations: 7.938 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.7765, allocations: 211.5 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.7766, allocations: 81.06 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.7766, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.7767, allocations: 3.984 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.7768, allocations: 11.94 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7768, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.7769, allocations: 95.27 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7769, allocations: 3.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003086/0.7772, allocations: 43.86 kB / 1.173 GB, free: 13.34 MB / 0.9044 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.0003742/0.7776, allocations: 166.9 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.7778, allocations: 67.91 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7779, allocations: 0 / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.778, allocations: 40.28 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.7783, allocations: 11.12 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.7787, allocations: 200.7 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.779, allocations: 0.6885 MB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.779, allocations: 4 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.7791, allocations: 11.44 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7791, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.004648/0.7837, allocations: 1.457 MB / 1.175 GB, free: 10.67 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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