Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.868/1.868, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009907/0.0009907, allocations: 185.5 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 93.64 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004167, allocations: 12 kB / 0.9058 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.6466, allocations: 119.2 MB / 1.022 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001597/0.6483, allocations: 1.198 MB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.6494, allocations: 0.9998 MB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.6495, allocations: 4.062 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.6495, allocations: 3.938 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.6496, allocations: 7.031 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.65, allocations: 103.1 kB / 1.025 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.6501, allocations: 70.88 kB / 1.025 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.6502, allocations: 10.42 kB / 1.025 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.6503, allocations: 29.72 kB / 1.025 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.6503, allocations: 28.23 kB / 1.025 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.6504, allocations: 3.406 kB / 1.025 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.6505, allocations: 89.31 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.6506, allocations: 10.16 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.6506, allocations: 56.14 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.6509, allocations: 131.5 kB / 1.025 GB, free: 56.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6509, allocations: 0 / 1.025 GB, free: 56.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6509, allocations: 0.7812 kB / 1.025 GB, free: 56.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.6509, allocations: 0 / 1.025 GB, free: 56.67 MB / 0.698 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.0004609/0.6514, allocations: 435.3 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.6514, allocations: 10.33 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.6514, allocations: 12.69 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.6515, allocations: 181.8 kB / 1.026 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.6516, allocations: 7.781 kB / 1.026 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.6516, allocations: 3.906 kB / 1.026 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.6518, allocations: 77.05 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6518, allocations: 0 / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6518, allocations: 1.953 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6518, allocations: 1.719 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.652, allocations: 41.89 kB / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.6524, allocations: 300.8 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.6525, allocations: 54.52 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.6526, allocations: 36.61 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.6526, allocations: 2.859 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.6528, allocations: 76.89 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6528, allocations: 1.156 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003711/0.6532, allocations: 157.3 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.6533, allocations: 56.89 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.6533, allocations: 118.5 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.6533, allocations: 29.08 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.6534, allocations: 97.7 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.6534, allocations: 8.797 kB / 1.027 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.6534, allocations: 4 kB / 1.027 GB, free: 55.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.6535, allocations: 324.3 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.6536, allocations: 25.08 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.6536, allocations: 66.91 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.6538, allocations: 96.34 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6538, allocations: 0 / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001979/0.654, allocations: 124.2 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.654, allocations: 7.531 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.654, allocations: 0 / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.654, allocations: 3.219 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.6541, allocations: 17.36 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6542, allocations: 2.625 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.6542, allocations: 18.14 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6542, allocations: 5.25 kB / 1.027 GB, free: 54.66 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.6543, allocations: 125.3 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.6543, allocations: 2.094 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.6543, allocations: 9.953 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6544, allocations: 0.9375 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6544, allocations: 4.453 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6544, allocations: 0.5625 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.6548, allocations: 393.1 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6548, allocations: 1.844 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.6548, allocations: 6.516 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6548, allocations: 1.344 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.6548, allocations: 0 / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6548, allocations: 4.391 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6549, allocations: 7.938 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.6551, allocations: 208.8 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.6551, allocations: 83.55 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.6552, allocations: 2.797 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.6552, allocations: 14.95 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.6553, allocations: 7.156 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6553, allocations: 3.703 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.6553, allocations: 97.09 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6554, allocations: 0 / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002794/0.6556, allocations: 44.58 kB / 1.028 GB, free: 53.82 MB / 0.698 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.0003327/0.656, allocations: 179.9 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.6562, allocations: 75.44 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6562, allocations: 0 / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.6563, allocations: 43.33 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6566, allocations: 10.05 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.6569, allocations: 214.2 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.6571, allocations: 0.6924 MB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.6571, allocations: 2.938 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.6571, allocations: 13.44 kB / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6571, allocations: 0 / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Performance of Templates: time 0.003621/0.6608, allocations: 1.346 MB / 1.031 GB, free: 52.7 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)