Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 292.6 MB / 307.8 MB, free: 7.16 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.001012/0.001012, allocations: 184.8 kB / 376.5 MB, free: 4.469 MB / 298.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.448/1.448, allocations: 225.7 MB / 0.655 GB, free: 13.18 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.0008379/0.0008379, allocations: 104.9 kB / 0.7711 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004163, allocations: 16.61 kB / 0.897 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6157, allocations: 118.2 MB / 1.012 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001721/0.6175, allocations: 1.202 MB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.6188, allocations: 0.6958 MB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.6189, allocations: 0 / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.6189, allocations: 6.156 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.688e-05/0.619, allocations: 11.84 kB / 1.014 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.6195, allocations: 97.88 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.6197, allocations: 83.83 kB / 1.014 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.6198, allocations: 16.94 kB / 1.014 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.6199, allocations: 33.92 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.62, allocations: 43.06 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.62, allocations: 4.25 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.6202, allocations: 83.02 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.6203, allocations: 22.73 kB / 1.015 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.6203, allocations: 59.72 kB / 1.015 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.6205, allocations: 107.2 kB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6206, allocations: 0 / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6206, allocations: 0 / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6206, allocations: 0 / 1.015 GB, free: 56.91 MB / 0.7136 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.0005727/0.6212, allocations: 448.3 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6212, allocations: 10.28 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.6213, allocations: 8.938 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6214, allocations: 181.8 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.6214, allocations: 9.375 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.6215, allocations: 6.062 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.6217, allocations: 95.3 kB / 1.016 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.6217, allocations: 0 / 1.016 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.6217, allocations: 0 / 1.016 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6218, allocations: 2.781 kB / 1.016 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.6219, allocations: 52.23 kB / 1.016 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.6225, allocations: 326.9 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.6227, allocations: 72.28 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.6228, allocations: 51.91 kB / 1.016 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.6228, allocations: 1.828 kB / 1.016 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.6231, allocations: 94.55 kB / 1.016 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.256e-06/0.6231, allocations: 6.203 kB / 1.016 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0005225/0.6236, allocations: 190.7 kB / 1.016 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.6237, allocations: 62.38 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.6238, allocations: 121.6 kB / 1.016 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6238, allocations: 35.44 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.6239, allocations: 97.84 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.6239, allocations: 22.92 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.6239, allocations: 0 / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.624, allocations: 326.6 kB / 1.017 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.6241, allocations: 30.81 kB / 1.017 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.6242, allocations: 81.72 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.6244, allocations: 114.4 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6245, allocations: 3.219 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002414/0.6247, allocations: 136.5 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6247, allocations: 9 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6248, allocations: 0 / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6248, allocations: 3.031 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6249, allocations: 17.78 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6249, allocations: 4.547 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.625, allocations: 20.97 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.625, allocations: 3.625 kB / 1.017 GB, free: 55.05 MB / 0.7136 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 9.497e-05/0.6251, allocations: 131.7 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.6251, allocations: 10.64 kB / 1.017 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.6252, allocations: 13.97 kB / 1.017 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6252, allocations: 0 / 1.017 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6252, allocations: 0 / 1.017 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6252, allocations: 4.453 kB / 1.017 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.6257, allocations: 435.3 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6258, allocations: 0 / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.6258, allocations: 11.77 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6258, allocations: 0 / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.6258, allocations: 8.25 kB / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6259, allocations: 3.938 kB / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6259, allocations: 5.312 kB / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.6262, allocations: 251.3 kB / 1.018 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.6262, allocations: 92.05 kB / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.6263, allocations: 6.938 kB / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.6264, allocations: 7.156 kB / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6264, allocations: 12.53 kB / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6265, allocations: 3.719 kB / 1.018 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.6265, allocations: 98.33 kB / 1.018 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6265, allocations: 0.75 kB / 1.018 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004065/0.6269, allocations: 40.22 kB / 1.018 GB, free: 54.29 MB / 0.7136 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.0004346/0.6274, allocations: 183.9 kB / 1.019 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.6277, allocations: 96.44 kB / 1.019 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6277, allocations: 1.094 kB / 1.019 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.6278, allocations: 51.06 kB / 1.019 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.6281, allocations: 14.44 kB / 1.019 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.6286, allocations: 230.5 kB / 1.019 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.6288, allocations: 0.6949 MB / 1.02 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.048e-05/0.6288, allocations: 14.42 kB / 1.02 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.6289, allocations: 10.38 kB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.6289, allocations: 0 / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.005068/0.6339, allocations: 1.582 MB / 1.021 GB, free: 53.22 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)