Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.781/1.781, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001411/0.001411, allocations: 183.5 kB / 393.1 MB, free: 4.055 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.533/1.533, 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.0009218/0.000922, allocations: 96.25 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003543, allocations: 8 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6593, allocations: 121.3 MB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001708/0.6611, allocations: 1.212 MB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.6624, allocations: 0.9967 MB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.6624, allocations: 0 / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.6624, allocations: 5.156 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.6625, allocations: 12.72 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.663, allocations: 102.4 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.882e-05/0.6631, allocations: 69.47 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.6632, allocations: 11.73 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.6633, allocations: 33.73 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.6634, allocations: 37.05 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.6634, allocations: 6.125 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.6636, allocations: 75 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.6637, allocations: 21.45 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.6637, allocations: 53.02 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.6639, allocations: 132.9 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.664, allocations: 6.031 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.664, allocations: 0 / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.664, allocations: 0.625 kB / 1.044 GB, free: 56.5 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.0005587/0.6645, allocations: 415.2 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6646, allocations: 16 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.6646, allocations: 8.781 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.6647, allocations: 169.5 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.6648, allocations: 5.5 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.6648, allocations: 5.469 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.665, allocations: 71.95 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.665, allocations: 2.672 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.665, allocations: 0.875 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.665, allocations: 1.375 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.6652, allocations: 46.97 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.6657, allocations: 326.4 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.6659, allocations: 51.69 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.666, allocations: 39.23 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.666, allocations: 1.625 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.6662, allocations: 85.88 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6662, allocations: 0 / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003931/0.6666, allocations: 145.9 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.6666, allocations: 58.67 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.6667, allocations: 124 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.6668, allocations: 27.64 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.6668, allocations: 97.42 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.6668, allocations: 7.812 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.6668, allocations: 5.938 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.6669, allocations: 320.4 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.667, allocations: 31.19 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.6671, allocations: 56.88 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.6673, allocations: 82.28 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6673, allocations: 0 / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.6675, allocations: 124.4 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.6675, allocations: 3.266 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6675, allocations: 3.875 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6676, allocations: 0 / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.6677, allocations: 16.78 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6677, allocations: 0 / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.6677, allocations: 11.77 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6678, allocations: 8.656 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: 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.351e-05/0.6679, allocations: 123.3 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.6679, allocations: 7.984 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.6679, allocations: 8.938 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6679, allocations: 3.844 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6679, allocations: 0 / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6679, allocations: 3.594 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.6683, allocations: 386.1 kB / 1.046 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6683, allocations: 4 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.6684, allocations: 4.938 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6684, allocations: 0 / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6684, allocations: 4.797 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6684, allocations: 0 / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6684, allocations: 3.938 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.6687, allocations: 225.7 kB / 1.047 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.6687, allocations: 84.67 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.6687, allocations: 0.9375 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.6688, allocations: 4.234 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.6689, allocations: 13.34 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6689, allocations: 10.55 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.847e-05/0.6689, allocations: 92.83 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6689, allocations: 4.875 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000262/0.6692, allocations: 33.72 kB / 1.047 GB, free: 53.7 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.0003592/0.6696, allocations: 173.8 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.6698, allocations: 82 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6698, allocations: 0 / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.6699, allocations: 34.22 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.6702, allocations: 9.391 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.6706, allocations: 209.7 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.6707, allocations: 0.689 MB / 1.048 GB, free: 52.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.6707, allocations: 4.094 kB / 1.048 GB, free: 52.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.6708, allocations: 11.97 kB / 1.048 GB, free: 52.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6708, allocations: 4 kB / 1.048 GB, free: 52.69 MB / 0.698 GB Notification: Performance of Templates: time 0.004156/0.6749, allocations: 1.357 MB / 1.049 GB, free: 52.56 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)