Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.001005/0.001005, allocations: 178.1 kB / 382.3 MB, free: 14.86 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.377/1.377, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.0007785/0.0007785, allocations: 94.48 kB / 0.7789 GB, free: 46.66 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004421, allocations: 8 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.674, allocations: 119.2 MB / 1.022 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002185/0.6763, allocations: 1.21 MB / 1.023 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.6778, allocations: 0.9998 MB / 1.024 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.6778, allocations: 1.375 kB / 1.024 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.6778, allocations: 3.938 kB / 1.024 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.6779, allocations: 6.906 kB / 1.024 GB, free: 56.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.6785, allocations: 112.4 kB / 1.025 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.6786, allocations: 65.02 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.6788, allocations: 17.27 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.6789, allocations: 30.12 kB / 1.025 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.679, allocations: 37.14 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.679, allocations: 3.969 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.6792, allocations: 83.59 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.6792, allocations: 16.33 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.6793, allocations: 51.06 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.6796, allocations: 144.5 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.6796, allocations: 0 / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6797, allocations: 0 / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.6797, allocations: 0 / 1.025 GB, free: 55.87 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.0006156/0.6803, allocations: 406.6 kB / 1.025 GB, free: 55.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6804, allocations: 10.59 kB / 1.025 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.6804, allocations: 7.688 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.6805, allocations: 177.7 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.6806, allocations: 7.031 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.6806, allocations: 6.672 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.6808, allocations: 71.73 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6809, allocations: 0 / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.6809, allocations: 1.953 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6809, allocations: 3.281 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.6811, allocations: 50.12 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.6818, allocations: 327.3 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.682, allocations: 54.33 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.6821, allocations: 33.61 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.6821, allocations: 5.031 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.6824, allocations: 80.95 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.6824, allocations: 0 / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005207/0.6829, allocations: 149.6 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.683, allocations: 53.95 kB / 1.026 GB, free: 54.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.6831, allocations: 119.1 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.6831, allocations: 31.77 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.6832, allocations: 96.67 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.6832, allocations: 10.38 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.6832, allocations: 0 / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.6833, allocations: 327.6 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.6834, allocations: 30.42 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.6835, allocations: 51.42 kB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.6837, allocations: 84.92 kB / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6838, allocations: 0 / 1.027 GB, free: 54.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003088/0.6841, allocations: 118 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6841, allocations: 6.281 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6841, allocations: 2.781 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.6841, allocations: 8 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.6843, allocations: 12.17 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.6843, allocations: 2.625 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.6844, allocations: 19.84 kB / 1.027 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6844, allocations: 3.328 kB / 1.027 GB, free: 53.94 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 8.989e-05/0.6845, allocations: 119.5 kB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.6845, allocations: 3.844 kB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.6846, allocations: 16.28 kB / 1.027 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6846, allocations: 0 / 1.027 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6846, allocations: 2.656 kB / 1.027 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.6846, allocations: 0.5625 kB / 1.027 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.6851, allocations: 386.2 kB / 1.028 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6851, allocations: 0 / 1.028 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.6852, allocations: 12.31 kB / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6852, allocations: 2.203 kB / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.6852, allocations: 4.938 kB / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.6853, allocations: 0.8906 kB / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6853, allocations: 3.938 kB / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.6856, allocations: 219.2 kB / 1.028 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.6857, allocations: 79.52 kB / 1.028 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.6857, allocations: 2.641 kB / 1.028 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.6859, allocations: 14.05 kB / 1.028 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.6859, allocations: 8.797 kB / 1.028 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6859, allocations: 2.406 kB / 1.028 GB, free: 53.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.686, allocations: 92.94 kB / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.686, allocations: 0 / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004884/0.6865, allocations: 42.2 kB / 1.028 GB, free: 53.1 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.0004676/0.687, allocations: 180 kB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.6873, allocations: 79.09 kB / 1.028 GB, free: 52.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6873, allocations: 4.125 kB / 1.028 GB, free: 52.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.6875, allocations: 41.59 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.6878, allocations: 9.797 kB / 1.029 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.6884, allocations: 204.7 kB / 1.029 GB, free: 52.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.6885, allocations: 0.6886 MB / 1.029 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.6886, allocations: 5.656 kB / 1.029 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.6886, allocations: 8.75 kB / 1.029 GB, free: 52.09 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.6886, allocations: 0 / 1.029 GB, free: 52.09 MB / 0.698 GB Notification: Performance of Templates: time 0.005329/0.694, allocations: 1.365 MB / 1.031 GB, free: 51.96 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)