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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007933/0.0007933, allocations: 92.23 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 182.1 kB / 16.92 MB, free: 6.926 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003335, allocations: 8.281 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5806, allocations: 153.8 MB / 1.024 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001627/0.5823, allocations: 1.215 MB / 1.025 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.5836, allocations: 0.7053 MB / 1.026 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.5836, allocations: 0 / 1.026 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.5837, allocations: 7.922 kB / 1.026 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.5837, allocations: 11.86 kB / 1.026 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.5842, allocations: 107.8 kB / 1.026 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.5844, allocations: 63.78 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.5845, allocations: 11.98 kB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.5845, allocations: 27.92 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.5846, allocations: 35.83 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.5846, allocations: 0 / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.5848, allocations: 95.84 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.5849, allocations: 11.92 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.5849, allocations: 57.56 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.5851, allocations: 97.92 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5851, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5851, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.5851, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.7794 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.0005326/0.5857, allocations: 430.7 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5857, allocations: 12.03 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.5857, allocations: 8.844 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5859, allocations: 180.1 kB / 1.027 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.5859, allocations: 4.375 kB / 1.027 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.5859, allocations: 8.312 kB / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.5861, allocations: 77.95 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5861, allocations: 0 / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.5862, allocations: 7.984 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5862, allocations: 4 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.5863, allocations: 39.98 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.5868, allocations: 296.8 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.587, allocations: 54.5 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.212e-05/0.5871, allocations: 32.97 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.5871, allocations: 7.984 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.5873, allocations: 87.28 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.5873, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004109/0.5878, allocations: 137.6 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5878, allocations: 55.41 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.5879, allocations: 129.7 kB / 1.028 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.588, allocations: 33.7 kB / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.588, allocations: 88.14 kB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.588, allocations: 15.88 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.5881, allocations: 21.7 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5882, allocations: 326.8 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.566e-05/0.5883, allocations: 23.98 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/0.5884, allocations: 65.14 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.5886, allocations: 101 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5886, allocations: 3.938 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.5889, allocations: 121.5 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5889, allocations: 10.03 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5889, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5889, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.589, allocations: 15.98 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.589, allocations: 4 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.5891, allocations: 7.938 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5891, allocations: 4 kB / 1.028 GB, free: 11.07 MB / 0.7794 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 0.0001117/0.5892, allocations: 131.8 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.5893, allocations: 7.906 kB / 1.029 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.5893, allocations: 12.36 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5893, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5893, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5893, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.5898, allocations: 386.4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5898, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.5899, allocations: 4 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5899, allocations: 4.047 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5899, allocations: 15.91 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5899, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5899, allocations: 3.938 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.5902, allocations: 215.4 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.5903, allocations: 88.94 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.5903, allocations: 8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.5904, allocations: 4 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.5904, allocations: 7.922 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.5905, allocations: 4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.5905, allocations: 95.27 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5905, allocations: 3.938 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003113/0.5908, allocations: 39.98 kB / 1.029 GB, free: 9.957 MB / 0.7794 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.0003459/0.5912, allocations: 157.6 kB / 1.03 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.5914, allocations: 79.89 kB / 1.03 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5915, allocations: 0 / 1.03 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.5916, allocations: 35.98 kB / 1.03 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.5918, allocations: 11.98 kB / 1.03 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.5923, allocations: 245 kB / 1.03 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.5925, allocations: 0.6887 MB / 1.031 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.5926, allocations: 11.44 kB / 1.031 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5926, allocations: 0 / 1.031 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.003316/0.5959, allocations: 1.56 MB / 1.032 GB, free: 7.125 MB / 0.7794 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches