Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.001321/0.001321, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001354/0.001354, allocations: 177.3 kB / 15.94 MB, free: 228 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.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7127, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001496/0.7142, allocations: 1.184 MB / 0.9547 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.7152, allocations: 0.6794 MB / 0.9553 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.7153, allocations: 3.938 kB / 0.9553 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.7153, allocations: 0 / 0.9553 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.7154, allocations: 14.77 kB / 0.9553 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.7158, allocations: 81.61 kB / 0.9554 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.7159, allocations: 51.3 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7161, allocations: 9.719 kB / 0.9555 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.7162, allocations: 32.05 kB / 0.9555 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.7162, allocations: 25.69 kB / 0.9555 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.7162, allocations: 7.359 kB / 0.9555 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.7164, allocations: 66.06 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.7164, allocations: 11.02 kB / 0.9556 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.7165, allocations: 40.11 kB / 0.9556 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.7166, allocations: 98.89 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7166, allocations: 0 / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7167, allocations: 1.125 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7167, allocations: 0 / 0.9557 GB, free: 6.316 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.0005002/0.7172, allocations: 438.6 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.7172, allocations: 9.719 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.7173, allocations: 10.64 kB / 0.9562 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.7173, allocations: 174.8 kB / 0.9563 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.7174, allocations: 6.812 kB / 0.9564 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7174, allocations: 4.125 kB / 0.9564 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.7176, allocations: 82.5 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7176, allocations: 0 / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7176, allocations: 0 / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7176, allocations: 1.562 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.7178, allocations: 53.5 kB / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.7182, allocations: 293.6 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.7184, allocations: 51.81 kB / 0.9568 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.7184, allocations: 9.438 kB / 0.9568 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.7186, allocations: 79.62 kB / 0.9569 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.7186, allocations: 0 / 0.9569 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003787/0.719, allocations: 151.6 kB / 0.957 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.719, allocations: 60.08 kB / 0.9571 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.7191, allocations: 116.7 kB / 0.9572 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.7191, allocations: 27.17 kB / 0.9572 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.7191, allocations: 102.9 kB / 0.9573 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.7191, allocations: 10.53 kB / 0.9573 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.7192, allocations: 4 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.7192, allocations: 317.2 kB / 0.9577 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.7193, allocations: 31.3 kB / 0.9577 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.7194, allocations: 59.23 kB / 0.9577 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.7194, allocations: 38.52 kB / 0.9578 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7195, allocations: 1.375 kB / 0.9578 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002039/0.7197, allocations: 121.7 kB / 0.9579 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7197, allocations: 5.844 kB / 0.9579 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7197, allocations: 1.156 kB / 0.9579 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7197, allocations: 5.766 kB / 0.9579 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.7198, allocations: 22.36 kB / 0.9579 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.7198, allocations: 1.969 kB / 0.9579 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.7199, allocations: 10.16 kB / 0.9579 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.7199, allocations: 4 kB / 0.9579 GB, free: 4.199 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 ($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 7.721e-05/0.72, allocations: 123.7 kB / 0.9581 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.72, allocations: 6.438 kB / 0.9581 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.72, allocations: 9.812 kB / 0.9581 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.7201, allocations: 5.297 kB / 0.9581 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7201, allocations: 0 / 0.9581 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7201, allocations: 5.281 kB / 0.9581 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.7204, allocations: 383.5 kB / 0.9585 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7205, allocations: 0 / 0.9585 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.7205, allocations: 12.05 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7205, allocations: 3.953 kB / 0.9585 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7205, allocations: 0.9688 kB / 0.9585 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7205, allocations: 1.5 kB / 0.9585 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7205, allocations: 0 / 0.9585 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.7208, allocations: 213.3 kB / 0.9587 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.7208, allocations: 86.73 kB / 0.9588 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.7209, allocations: 5.766 kB / 0.9588 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.721, allocations: 3.562 kB / 0.9588 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.721, allocations: 11.58 kB / 0.9588 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.721, allocations: 1.875 kB / 0.9588 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.7211, allocations: 99.17 kB / 0.9589 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7211, allocations: 1.469 kB / 0.9589 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003128/0.7214, allocations: 39.7 kB / 0.9589 GB, free: 3.285 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 (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.0003771/0.7218, allocations: 164 kB / 0.9591 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.722, allocations: 77.56 kB / 0.9591 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.722, allocations: 3.938 kB / 0.9591 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.7221, allocations: 46.81 kB / 0.9592 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.7223, allocations: 3.031 kB / 0.9592 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.7227, allocations: 207 kB / 0.9594 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.7228, allocations: 0.6947 MB / 0.9601 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.7228, allocations: 11.42 kB / 0.9601 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.7229, allocations: 14.44 kB / 0.9601 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7229, allocations: 0 / 0.9601 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of Templates: time 0.003558/0.7264, allocations: 1.314 MB / 0.9614 GB, free: 1.523 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","../files/Buildings_9_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