Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.754/1.754, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001104/0.001104, allocations: 175.3 kB / 393.1 MB, free: 4.086 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.406/1.406, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.001082/0.001082, allocations: 100.6 kB / 0.7935 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6634, allocations: 121.3 MB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001805/0.6653, allocations: 1.209 MB / 1.042 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.6666, allocations: 0.99 MB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.6667, allocations: 4.281 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.6667, allocations: 4.5 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.6668, allocations: 10.59 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.6673, allocations: 110 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6674, allocations: 69.73 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.6675, allocations: 7.312 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.6676, allocations: 42.66 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.6677, allocations: 30.44 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.6677, allocations: 5.312 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.6679, allocations: 79.16 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.6679, allocations: 13.89 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.668, allocations: 56.03 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.6682, allocations: 145.6 kB / 1.044 GB, free: 56.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6682, allocations: 0.5625 kB / 1.044 GB, free: 56.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6683, allocations: 0 / 1.044 GB, free: 56.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6683, allocations: 1.031 kB / 1.044 GB, free: 56.74 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.0005646/0.6688, allocations: 405.2 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6689, allocations: 14.88 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.6689, allocations: 13.59 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.669, allocations: 167.7 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.6691, allocations: 8.094 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.6691, allocations: 6.703 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.6693, allocations: 74.12 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.6693, allocations: 0 / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.6693, allocations: 0.7812 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.6693, allocations: 0 / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.6695, allocations: 48.98 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.67, allocations: 322.4 kB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.6702, allocations: 55.3 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.6703, allocations: 34.92 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.6703, allocations: 3.469 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.6705, allocations: 79.91 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6705, allocations: 0 / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003805/0.6709, allocations: 147.7 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.6709, allocations: 54.44 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.671, allocations: 121.2 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.671, allocations: 33.48 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.6711, allocations: 95 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.6711, allocations: 17.19 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.6711, allocations: 0 / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.6712, allocations: 325.1 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.6713, allocations: 28.88 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.6713, allocations: 56.67 kB / 1.046 GB, free: 54.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.6715, allocations: 75.69 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6715, allocations: 1.719 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002184/0.6717, allocations: 128 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6718, allocations: 8.875 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6718, allocations: 0 / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.6718, allocations: 3.938 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.6719, allocations: 15.38 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6719, allocations: 0 / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.672, allocations: 14.14 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.672, allocations: 3.969 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 7.667e-05/0.6721, allocations: 125.3 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.6721, allocations: 6.375 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.6721, allocations: 9.359 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6721, allocations: 3.531 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6721, allocations: 0 / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6722, allocations: 3.562 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.6725, allocations: 385.4 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6726, allocations: 3.938 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.6726, allocations: 8.406 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6726, allocations: 2.812 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6726, allocations: 4 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6726, allocations: 4 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6726, allocations: 3.938 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.6729, allocations: 216 kB / 1.047 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.6729, allocations: 86.02 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.673, allocations: 2.812 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.6731, allocations: 6.938 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.6731, allocations: 12.12 kB / 1.047 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.6731, allocations: 0 / 1.047 GB, free: 54.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.6732, allocations: 98.81 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6732, allocations: 3.938 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002697/0.6734, allocations: 38.83 kB / 1.047 GB, free: 53.95 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003256/0.6738, allocations: 174 kB / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.674, allocations: 81.75 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.674, allocations: 3.125 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.6741, allocations: 35.8 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.6744, allocations: 12.22 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.6747, allocations: 207 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.6749, allocations: 0.6865 MB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.6749, allocations: 3.688 kB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.6749, allocations: 12.58 kB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6749, allocations: 4 kB / 1.048 GB, free: 52.93 MB / 0.698 GB Notification: Performance of Templates: time 0.003838/0.6788, allocations: 1.365 MB / 1.049 GB, free: 52.8 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)