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.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.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.0008722/0.0008723, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006049/0.006049, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.376/2.376, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6672, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001771/0.669, allocations: 1.211 MB / 0.9562 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.6703, allocations: 0.7135 MB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.6704, allocations: 3.938 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.6704, allocations: 3.984 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.6705, allocations: 10.19 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.6711, allocations: 99.64 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.6712, allocations: 69.25 kB / 0.9571 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.6713, allocations: 12.86 kB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.6714, allocations: 32.69 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.6715, allocations: 34.31 kB / 0.9572 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.6715, allocations: 2.281 kB / 0.9572 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.6718, allocations: 85.16 kB / 0.9573 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.6718, allocations: 10.39 kB / 0.9573 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.6719, allocations: 59.41 kB / 0.9573 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.6721, allocations: 130.7 kB / 0.9574 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6721, allocations: 5.344 kB / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6721, allocations: 0 / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.6721, allocations: 0 / 0.9574 GB, free: 5.875 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.0005303/0.6727, allocations: 434.2 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6727, allocations: 9.25 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.6728, allocations: 12.44 kB / 0.9579 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.6729, allocations: 180.8 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.6729, allocations: 2.844 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.6729, allocations: 12.17 kB / 0.9581 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.6732, allocations: 74.5 kB / 0.9581 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6732, allocations: 0 / 0.9581 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.6732, allocations: 5.5 kB / 0.9581 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.6732, allocations: 5.25 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.6734, allocations: 46.62 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.6739, allocations: 292.9 kB / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.674, allocations: 47.31 kB / 0.9585 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.6742, allocations: 42.03 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.6742, allocations: 5.438 kB / 0.9586 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.6744, allocations: 80.08 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.6744, allocations: 0 / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004574/0.6749, allocations: 152.6 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.675, allocations: 57.22 kB / 0.9588 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.6751, allocations: 116.4 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.6751, allocations: 27.55 kB / 0.959 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.6752, allocations: 93.78 kB / 0.9591 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.6752, allocations: 15.41 kB / 0.9591 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.6752, allocations: 33.14 kB / 0.9591 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.6753, allocations: 320.6 kB / 0.9594 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.6754, allocations: 24.14 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.6755, allocations: 64.41 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.6757, allocations: 94.2 kB / 0.9596 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6757, allocations: 4 kB / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002483/0.6759, allocations: 117.7 kB / 0.9597 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.676, allocations: 5.5 kB / 0.9597 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.676, allocations: 2.75 kB / 0.9597 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.676, allocations: 5.359 kB / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.6761, allocations: 19.09 kB / 0.9597 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6761, allocations: 1.375 kB / 0.9597 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.6762, allocations: 14.8 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.6762, allocations: 6.75 kB / 0.9598 GB, free: 3.66 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 8.298e-05/0.6763, allocations: 121 kB / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.6763, allocations: 8.031 kB / 0.9599 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.6764, allocations: 9.75 kB / 0.9599 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6764, allocations: 4 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6764, allocations: 1.375 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6764, allocations: 3.984 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.6769, allocations: 383 kB / 0.9603 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6769, allocations: 1.375 kB / 0.9603 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.6769, allocations: 4.125 kB / 0.9603 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6769, allocations: 4 kB / 0.9603 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.6769, allocations: 1.375 kB / 0.9603 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6769, allocations: 0 / 0.9603 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.677, allocations: 9.297 kB / 0.9603 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.6772, allocations: 217.4 kB / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.6773, allocations: 91.7 kB / 0.9606 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.6773, allocations: 1.422 kB / 0.9606 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.6774, allocations: 16.03 kB / 0.9606 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6774, allocations: 6.688 kB / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6775, allocations: 9.297 kB / 0.9606 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.6775, allocations: 92.89 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6775, allocations: 0 / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003233/0.6778, allocations: 36.88 kB / 0.9607 GB, free: 2.746 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.0003117/0.6782, allocations: 165.8 kB / 0.9609 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.6784, allocations: 73.52 kB / 0.961 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6784, allocations: 5.406 kB / 0.961 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.6785, allocations: 38.55 kB / 0.961 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.6788, allocations: 11.92 kB / 0.961 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.6792, allocations: 208.5 kB / 0.9612 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.6793, allocations: 0.6884 MB / 0.9619 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.6793, allocations: 7.234 kB / 0.9619 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.6794, allocations: 10.94 kB / 0.9619 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6794, allocations: 7.875 kB / 0.9619 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of Templates: time 0.00411/0.6835, allocations: 1.353 MB / 0.9632 GB, free: 0.9648 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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