Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001036/0.001036, allocations: 186.1 kB / 330.8 MB, free: 476 kB / 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 1.808/1.808, allocations: 225.7 MB / 0.6016 GB, free: 1.707 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.0008495/0.0008495, allocations: 106.5 kB / 0.709 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003575, allocations: 11.19 kB / 0.8261 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2, allocations: 109.2 MB / 0.9328 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001428/0.2015, allocations: 1.213 MB / 0.9339 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2027, allocations: 1.011 MB / 0.9349 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.2028, allocations: 3.938 kB / 0.9349 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.2028, allocations: 0 / 0.9349 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.2029, allocations: 15.86 kB / 0.9349 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.2034, allocations: 103.8 kB / 0.935 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.2035, allocations: 83.83 kB / 0.9351 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.2036, allocations: 19.92 kB / 0.9351 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.2037, allocations: 35.86 kB / 0.9352 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.2038, allocations: 43.81 kB / 0.9352 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2038, allocations: 4 kB / 0.9352 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.204, allocations: 87.84 kB / 0.9353 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.204, allocations: 19.92 kB / 0.9353 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.2041, allocations: 61.56 kB / 0.9354 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2044, allocations: 151.8 kB / 0.9355 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2044, allocations: 0 / 0.9355 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2044, allocations: 0 / 0.9355 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2044, allocations: 0 / 0.9355 GB, free: 21.46 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.0005348/0.2049, allocations: 446.6 kB / 0.936 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.205, allocations: 11.98 kB / 0.936 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.205, allocations: 8.844 kB / 0.936 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.2051, allocations: 176.2 kB / 0.9361 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.2052, allocations: 12.36 kB / 0.9362 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.2052, allocations: 8.375 kB / 0.9362 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2054, allocations: 89.89 kB / 0.9362 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2054, allocations: 4 kB / 0.9363 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2055, allocations: 3.984 kB / 0.9363 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2055, allocations: 0 / 0.9363 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2056, allocations: 55.97 kB / 0.9363 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.2062, allocations: 324.5 kB / 0.9366 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2063, allocations: 74.55 kB / 0.9367 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.482e-05/0.2064, allocations: 44.83 kB / 0.9367 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.2065, allocations: 4.156 kB / 0.9367 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.2067, allocations: 99.38 kB / 0.9368 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.2067, allocations: 4 kB / 0.9368 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004536/0.2072, allocations: 193.5 kB / 0.937 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2072, allocations: 59.39 kB / 0.9371 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2073, allocations: 121.8 kB / 0.9372 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2073, allocations: 25.7 kB / 0.9372 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.2074, allocations: 100.4 kB / 0.9373 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2074, allocations: 19.72 kB / 0.9373 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.2074, allocations: 3.938 kB / 0.9373 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.2075, allocations: 326.8 kB / 0.9376 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.2075, allocations: 32.3 kB / 0.9377 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.2076, allocations: 77.98 kB / 0.9378 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.2078, allocations: 121.9 kB / 0.9379 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2078, allocations: 0 / 0.9379 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002267/0.2081, allocations: 137.5 kB / 0.938 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2081, allocations: 12.02 kB / 0.938 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2081, allocations: 4 kB / 0.938 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2081, allocations: 0 / 0.938 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.2082, allocations: 15.94 kB / 0.938 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2082, allocations: 7.984 kB / 0.938 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.2083, allocations: 12 kB / 0.9381 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2083, allocations: 4 kB / 0.9381 GB, free: 18.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.2084, allocations: 128.3 kB / 0.9382 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.2084, allocations: 7.906 kB / 0.9382 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.2085, allocations: 16.36 kB / 0.9382 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2085, allocations: 0 / 0.9382 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2085, allocations: 0 / 0.9382 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2085, allocations: 0 / 0.9382 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.2089, allocations: 450.2 kB / 0.9386 GB, free: 17.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2089, allocations: 4 kB / 0.9386 GB, free: 17.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.209, allocations: 4 kB / 0.9386 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.209, allocations: 3.984 kB / 0.9386 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.209, allocations: 0 / 0.9386 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.209, allocations: 0 / 0.9386 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.209, allocations: 3.938 kB / 0.9386 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.2093, allocations: 255.3 kB / 0.9389 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.2093, allocations: 85.02 kB / 0.939 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.2094, allocations: 4 kB / 0.939 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.2095, allocations: 11.98 kB / 0.939 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.2095, allocations: 12.02 kB / 0.939 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2095, allocations: 4 kB / 0.939 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.2096, allocations: 99.27 kB / 0.9391 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2096, allocations: 192 / 0.9391 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002849/0.2099, allocations: 47.92 kB / 0.9391 GB, free: 17.38 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 (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.0003399/0.2102, allocations: 182.4 kB / 0.9393 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2105, allocations: 99.89 kB / 0.9394 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2105, allocations: 0 / 0.9394 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2106, allocations: 51.92 kB / 0.9395 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.2109, allocations: 7.984 kB / 0.9395 GB, free: 17.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.2113, allocations: 227.4 kB / 0.9397 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2114, allocations: 0.6926 MB / 0.9404 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.235e-05/0.2115, allocations: 11.98 kB / 0.9404 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.2115, allocations: 11.44 kB / 0.9404 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.2115, allocations: 0 / 0.9404 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of Templates: time 0.003932/0.2154, allocations: 1.587 MB / 0.9419 GB, free: 14.48 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)