Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.683/1.683, 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.0009808/0.0009809, allocations: 187.4 kB / 393.1 MB, free: 4.09 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.495/1.495, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0008182/0.0008183, allocations: 97.66 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 12.5 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.622, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001605/0.6237, allocations: 1.211 MB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.6249, allocations: 0.9968 MB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.6249, allocations: 1.875 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.625, allocations: 4.734 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.625, allocations: 8.125 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.6255, allocations: 101.4 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.6256, allocations: 71.42 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.6257, allocations: 19.59 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.6258, allocations: 32.44 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.6259, allocations: 32.64 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.6259, allocations: 2.125 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.6261, allocations: 81.73 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.6261, allocations: 16.38 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.6262, allocations: 52.33 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.6264, allocations: 139.4 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6264, allocations: 0.8438 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6264, allocations: 0.9062 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.6264, allocations: 2.062 kB / 1.044 GB, free: 56.56 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.0005141/0.627, allocations: 412 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.627, allocations: 13.91 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.6271, allocations: 9.109 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.6271, allocations: 176.9 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6272, allocations: 3.781 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6272, allocations: 3.281 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.6274, allocations: 77.72 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6274, allocations: 0.9688 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6274, allocations: 0 / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.6274, allocations: 6.234 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.6276, allocations: 45.89 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.6281, allocations: 319.6 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6282, allocations: 47.8 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.6283, allocations: 38.39 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.6283, allocations: 4.906 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.6285, allocations: 86.09 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.6285, allocations: 0 / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.6289, allocations: 149.7 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.6289, allocations: 62.8 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.629, allocations: 117.4 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.629, allocations: 28.02 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.6291, allocations: 92.08 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.6291, allocations: 18.23 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.6291, allocations: 2.031 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.6292, allocations: 324.2 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.6292, allocations: 31.28 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.6293, allocations: 56.66 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.6295, allocations: 77.98 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6295, allocations: 0 / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.6297, allocations: 123.8 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6297, allocations: 12.47 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6297, allocations: 1.031 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6298, allocations: 3.938 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.6299, allocations: 11.19 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6299, allocations: 3.062 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.6299, allocations: 11.08 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.63, allocations: 3.203 kB / 1.046 GB, free: 54.61 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.046e-05/0.63, allocations: 132.2 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.6301, allocations: 8.562 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.6301, allocations: 6.203 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6301, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6301, allocations: 0.5938 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6301, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.6305, allocations: 393.5 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6305, allocations: 0 / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.6305, allocations: 8.047 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6306, allocations: 0 / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6306, allocations: 1.219 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6306, allocations: 4 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6306, allocations: 7.078 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.6308, allocations: 221 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.6309, allocations: 81.62 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.6309, allocations: 1.438 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.631, allocations: 10.81 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.631, allocations: 7.125 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.631, allocations: 4.516 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.6311, allocations: 101.3 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6311, allocations: 4.906 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002772/0.6314, allocations: 35.27 kB / 1.047 GB, free: 53.76 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.0003324/0.6317, allocations: 170.7 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.6319, allocations: 81.2 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.632, allocations: 0 / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.632, allocations: 39.06 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6323, allocations: 11.7 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.6327, allocations: 208.8 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.6328, allocations: 0.6893 MB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.6328, allocations: 4.609 kB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.6329, allocations: 13.5 kB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.6329, allocations: 2.156 kB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of Templates: time 0.003562/0.6364, allocations: 1.355 MB / 1.049 GB, free: 52.62 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)