Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.421/2.421, allocations: 254.9 MB / 269.9 MB, free: 9.621 MB / 218.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.001959/0.001959, allocations: 183.1 kB / 329.5 MB, free: 1.133 MB / 250.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 2.359/2.359, allocations: 225.6 MB / 0.6001 GB, free: 0.4922 MB / 426.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.0009632/0.0009631, allocations: 95.05 kB / 0.7074 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007589/0.0007593, allocations: 11 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2518, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002528/0.2543, allocations: 1.209 MB / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.2565, allocations: 0.7055 MB / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.2566, allocations: 0 / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.2566, allocations: 3.938 kB / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.2567, allocations: 11.92 kB / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.2575, allocations: 99.77 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.2577, allocations: 83.7 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2578, allocations: 11.97 kB / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.258, allocations: 35.91 kB / 0.9329 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.2581, allocations: 43.83 kB / 0.9329 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.2582, allocations: 8 kB / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.2585, allocations: 83.84 kB / 0.933 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.2586, allocations: 15.98 kB / 0.933 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.2587, allocations: 45.62 kB / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.259, allocations: 108 kB / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.259, allocations: 0 / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.304e-06/0.259, allocations: 0 / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.259, allocations: 0 / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007727/0.2598, allocations: 446.6 kB / 0.9336 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.2599, allocations: 12.03 kB / 0.9336 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.2599, allocations: 8.844 kB / 0.9336 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2601, allocations: 176.4 kB / 0.9338 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.2601, allocations: 8.375 kB / 0.9338 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2602, allocations: 4.375 kB / 0.9338 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.2606, allocations: 97.88 kB / 0.9339 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2606, allocations: 0 / 0.9339 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.2607, allocations: 4 kB / 0.9339 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2607, allocations: 0 / 0.9339 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.2611, allocations: 55.91 kB / 0.9339 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.262, allocations: 336.5 kB / 0.9342 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.2623, allocations: 62.55 kB / 0.9343 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.2626, allocations: 52.83 kB / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2627, allocations: 0 / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.2631, allocations: 99.39 kB / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 3.035e-06/0.2631, allocations: 0 / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.001012/0.2641, allocations: 193.5 kB / 0.9346 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.2642, allocations: 59.41 kB / 0.9347 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2644, allocations: 125.8 kB / 0.9348 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.2644, allocations: 29.7 kB / 0.9348 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.2645, allocations: 96.28 kB / 0.9349 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.2645, allocations: 15.8 kB / 0.9349 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.2646, allocations: 4 kB / 0.935 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.2646, allocations: 322.8 kB / 0.9353 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2648, allocations: 35.92 kB / 0.9353 GB, free: 20 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2651, allocations: 77.94 kB / 0.9354 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.2653, allocations: 43.92 kB / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2654, allocations: 0 / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005979/0.266, allocations: 137.4 kB / 0.9355 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.266, allocations: 4 kB / 0.9355 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.266, allocations: 8.156 kB / 0.9356 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.2661, allocations: 3.938 kB / 0.9356 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.2663, allocations: 23.92 kB / 0.9356 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2664, allocations: 0 / 0.9356 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.2665, allocations: 15.91 kB / 0.9356 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2666, allocations: 4 kB / 0.9356 GB, free: 19.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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 0.000149/0.2667, allocations: 132.9 kB / 0.9357 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.2668, allocations: 11.91 kB / 0.9357 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.2669, allocations: 4.375 kB / 0.9357 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.2669, allocations: 0 / 0.9357 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2669, allocations: 3.938 kB / 0.9357 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2669, allocations: 8.094 kB / 0.9358 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.268, allocations: 454.4 kB / 0.9362 GB, free: 19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.268, allocations: 4 kB / 0.9362 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.2681, allocations: 4 kB / 0.9362 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2682, allocations: 0 / 0.9362 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.2682, allocations: 3.984 kB / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2682, allocations: 0 / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2682, allocations: 7.938 kB / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.269, allocations: 255.3 kB / 0.9364 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.269, allocations: 85.02 kB / 0.9365 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.2691, allocations: 0 / 0.9365 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2694, allocations: 4 kB / 0.9365 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.2694, allocations: 15.92 kB / 0.9365 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.2695, allocations: 7.984 kB / 0.9366 GB, free: 18.58 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.2696, allocations: 95.27 kB / 0.9366 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.41e-07/0.2696, allocations: 0 / 0.9366 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000728/0.2703, allocations: 40 kB / 0.9367 GB, free: 18.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005615/0.2709, allocations: 180.2 kB / 0.9369 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005659/0.2715, allocations: 107.8 kB / 0.937 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2715, allocations: 0 / 0.937 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.2718, allocations: 51.91 kB / 0.937 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.2725, allocations: 12.36 kB / 0.937 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.2732, allocations: 219.3 kB / 0.9372 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2734, allocations: 0.6926 MB / 0.9379 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.362e-05/0.2735, allocations: 8 kB / 0.9379 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.2736, allocations: 11.44 kB / 0.9379 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of SimCode: time 1.323e-06/0.2736, allocations: 0 / 0.9379 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.007749/0.2813, allocations: 1.553 MB / 0.9394 GB, free: 15.58 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)