Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.807/1.807, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.001206/0.001206, allocations: 184.3 kB / 393.1 MB, free: 4.102 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.453/1.453, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007881/0.0007881, allocations: 97.88 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 8 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5552, allocations: 121.3 MB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001541/0.5568, allocations: 1.214 MB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.558, allocations: 1.018 MB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.558, allocations: 0 / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.558, allocations: 7.906 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.5581, allocations: 10.08 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.5586, allocations: 108.7 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.5587, allocations: 87.84 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.5588, allocations: 7.031 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.5589, allocations: 39.86 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.5589, allocations: 42.05 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.559, allocations: 4.25 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.5591, allocations: 90.69 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.5592, allocations: 22.39 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.5592, allocations: 62.06 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.5595, allocations: 141 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5595, allocations: 0 / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5595, allocations: 0 / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.5595, allocations: 1.312 kB / 1.044 GB, free: 56.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005023/0.56, allocations: 448.6 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.56, allocations: 10.72 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.5601, allocations: 12.81 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.439e-05/0.5602, allocations: 184.3 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.5602, allocations: 4.219 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5602, allocations: 9.453 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.5604, allocations: 92.3 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5605, allocations: 0 / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5605, allocations: 5.031 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5605, allocations: 0.9688 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.5606, allocations: 58.69 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.5611, allocations: 312.8 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.5613, allocations: 71.83 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.5614, allocations: 49.27 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.5614, allocations: 2.75 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.5616, allocations: 92.86 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.5616, allocations: 5.625 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004743/0.5621, allocations: 198 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5622, allocations: 60.45 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.5622, allocations: 121.7 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5623, allocations: 32.89 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.5623, allocations: 93 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.5623, allocations: 24.08 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5624, allocations: 4 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.5624, allocations: 326.5 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.5625, allocations: 31.02 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.5626, allocations: 77.69 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5628, allocations: 117.1 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5628, allocations: 3.406 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002292/0.563, allocations: 139.4 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.563, allocations: 5.031 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5631, allocations: 3.125 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5631, allocations: 8.188 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.5632, allocations: 19.81 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5632, allocations: 2.219 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.5633, allocations: 14.91 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.5633, allocations: 7.375 kB / 1.046 GB, free: 54.55 MB / 0.698 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.208e-05/0.5634, allocations: 128.4 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.5634, allocations: 8.031 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.5634, allocations: 15.59 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.5634, allocations: 0 / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5634, allocations: 2.625 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5634, allocations: 2.875 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.5639, allocations: 431.7 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5639, allocations: 0 / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.564, allocations: 10.78 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.564, allocations: 0 / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.564, allocations: 5.953 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.564, allocations: 0 / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.564, allocations: 6.234 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.5644, allocations: 257.1 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.5644, allocations: 92.77 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.5644, allocations: 5.344 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.5645, allocations: 6 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.5646, allocations: 17.05 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5646, allocations: 1.969 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.5647, allocations: 96.44 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5647, allocations: 192 / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000273/0.5649, allocations: 41.39 kB / 1.047 GB, free: 53.67 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: 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.0003427/0.5653, allocations: 186.2 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.5656, allocations: 102.1 kB / 1.048 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5656, allocations: 0 / 1.048 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5657, allocations: 45.28 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5659, allocations: 14.83 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.5663, allocations: 232.1 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5665, allocations: 0.6907 MB / 1.048 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.5665, allocations: 3.812 kB / 1.048 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.5665, allocations: 18.92 kB / 1.049 GB, free: 52.63 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.5665, allocations: 4 kB / 1.049 GB, free: 52.62 MB / 0.698 GB Notification: Performance of Templates: time 0.003855/0.5704, allocations: 1.591 MB / 1.05 GB, free: 52.48 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)