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.001551/0.001556, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001795/0.001796, allocations: 187 kB / 17.34 MB, free: 5.742 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 55.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7781, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002359/0.7805, allocations: 1.483 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.7816, allocations: 0.7293 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.7817, allocations: 1.094 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.7817, allocations: 5.391 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.7818, allocations: 9.734 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.7823, allocations: 123.1 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.7824, allocations: 74.8 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.7825, allocations: 7.438 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.7826, allocations: 38 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.7827, allocations: 30.03 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.7827, allocations: 6.312 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.7829, allocations: 93.31 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.7829, allocations: 21.52 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.783, allocations: 28.05 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.7832, allocations: 139.6 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7832, allocations: 1.156 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7832, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7833, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 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.0004981/0.7838, allocations: 449.8 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.7838, allocations: 9.219 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.7838, allocations: 8.281 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.104e-05/0.7839, allocations: 185.8 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.7839, allocations: 6.688 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.784, allocations: 5.453 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.7841, allocations: 68.84 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7842, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.7842, allocations: 1.406 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.7842, allocations: 1.344 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.7843, allocations: 39.25 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.7847, allocations: 299.4 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.7849, allocations: 46.12 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.785, allocations: 32.31 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.785, allocations: 1 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.7852, allocations: 81.2 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.7852, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.7856, allocations: 141.4 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.7856, allocations: 53.83 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.7857, allocations: 123.1 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.7857, allocations: 31.05 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.7858, allocations: 96.38 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.7858, allocations: 11.94 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.7858, allocations: 24.23 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.7859, allocations: 327.6 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.786, allocations: 20.34 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.227e-05/0.7861, allocations: 67.7 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.7862, allocations: 87.47 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7862, allocations: 0.75 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002177/0.7864, allocations: 119.9 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7865, allocations: 6.656 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7865, allocations: 1.719 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7865, allocations: 1.875 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.7866, allocations: 12.97 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.7866, allocations: 6.469 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.7867, allocations: 21.72 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.7867, allocations: 8.375 kB / 1.094 GB, free: 1.66 MB / 0.8575 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 6.481e-05/0.7868, allocations: 119.7 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.7868, allocations: 7.766 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.7868, allocations: 11.23 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7868, allocations: 0.9062 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7868, allocations: 0.6094 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7869, allocations: 0.75 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.7873, allocations: 381.5 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7873, allocations: 0.5625 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.7873, allocations: 5.812 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7873, allocations: 0 / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.7874, allocations: 6.219 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7874, allocations: 1.719 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7874, allocations: 3.938 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.7876, allocations: 222.3 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.7877, allocations: 87.97 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.7877, allocations: 1.578 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.7878, allocations: 5.328 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.7878, allocations: 12.38 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.7878, allocations: 2.984 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.7879, allocations: 92.92 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7879, allocations: 0 / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003319/0.7882, allocations: 45.62 kB / 1.095 GB, free: 0.8008 MB / 0.8575 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.0003239/0.7886, allocations: 155.9 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.7888, allocations: 70.53 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7888, allocations: 5.125 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7889, allocations: 37.67 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.7892, allocations: 6.531 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.7896, allocations: 215.7 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.7898, allocations: 0.6864 MB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.7898, allocations: 15.44 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.7898, allocations: 0.9062 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.00391/0.7937, allocations: 1.577 MB / 1.097 GB, free: 15.62 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches