Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.757/1.757, 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.001596/0.001596, allocations: 182.7 kB / 393.1 MB, free: 4.07 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.463/1.463, 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.0008591/0.0008591, allocations: 97.31 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 12 kB / 0.9224 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6436, allocations: 121.3 MB / 1.041 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001662/0.6453, allocations: 1.21 MB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.6468, allocations: 0.9951 MB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.6468, allocations: 2.094 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.6468, allocations: 3.938 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.6469, allocations: 9.281 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.6475, allocations: 99.23 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.6476, allocations: 73.27 kB / 1.043 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.6477, allocations: 16.53 kB / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.6479, allocations: 30.08 kB / 1.043 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.6479, allocations: 33.25 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.648, allocations: 2.094 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.6482, allocations: 85.84 kB / 1.043 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.6482, allocations: 16.16 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.6483, allocations: 55.31 kB / 1.043 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.6486, allocations: 133.3 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6486, allocations: 0 / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6486, allocations: 0 / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6486, allocations: 4.844 kB / 1.044 GB, free: 56.09 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.0005974/0.6492, allocations: 414.6 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6493, allocations: 13.03 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.6493, allocations: 8.656 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.6494, allocations: 177.3 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.6494, allocations: 6.297 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.6495, allocations: 3.844 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.6497, allocations: 75.03 kB / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.6497, allocations: 0 / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.6497, allocations: 3.922 kB / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6497, allocations: 0 / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.6499, allocations: 52.36 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.6505, allocations: 319.8 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.6506, allocations: 52.48 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.6507, allocations: 34.25 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.6508, allocations: 4.078 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.651, allocations: 91.84 kB / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.651, allocations: 0 / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004313/0.6514, allocations: 142.5 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.6515, allocations: 58.53 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.6516, allocations: 118.4 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.6516, allocations: 29.95 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.6516, allocations: 92.3 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.6517, allocations: 14.97 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.6517, allocations: 1.969 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.6518, allocations: 322.7 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.6519, allocations: 29.2 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.652, allocations: 66.81 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.6522, allocations: 77.39 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6522, allocations: 4 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002614/0.6524, allocations: 116.2 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6525, allocations: 9 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6525, allocations: 1.062 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6525, allocations: 1.438 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.6526, allocations: 15.58 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6527, allocations: 7.625 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.6528, allocations: 10.38 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.6528, allocations: 2 kB / 1.046 GB, free: 54.14 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.003e-05/0.6529, allocations: 129.8 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.6529, allocations: 5.281 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.6529, allocations: 8.938 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6529, allocations: 2.281 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.653, allocations: 4 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.653, allocations: 0 / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.6534, allocations: 387.6 kB / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6534, allocations: 0 / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.6535, allocations: 10.95 kB / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6535, allocations: 1.406 kB / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.6535, allocations: 7.469 kB / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6535, allocations: 0 / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6535, allocations: 3.938 kB / 1.046 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.6537, allocations: 218.2 kB / 1.047 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.6538, allocations: 83.83 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6538, allocations: 3.938 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.6539, allocations: 11.95 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.6539, allocations: 8.75 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.6539, allocations: 3.25 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.654, allocations: 93.72 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.654, allocations: 3.938 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002852/0.6543, allocations: 33.95 kB / 1.047 GB, free: 53.29 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.0003423/0.6546, allocations: 183.1 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.6549, allocations: 80.27 kB / 1.047 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6549, allocations: 0 / 1.047 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.655, allocations: 38.48 kB / 1.047 GB, free: 53.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.6552, allocations: 12.45 kB / 1.047 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.6556, allocations: 205.2 kB / 1.047 GB, free: 52.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.6558, allocations: 0.6923 MB / 1.048 GB, free: 52.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.6558, allocations: 5.234 kB / 1.048 GB, free: 52.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.6558, allocations: 11.38 kB / 1.048 GB, free: 52.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.6558, allocations: 0 / 1.048 GB, free: 52.27 MB / 0.698 GB Notification: Performance of Templates: time 0.003783/0.6596, allocations: 1.348 MB / 1.049 GB, free: 52.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)