Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.872/1.872, 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.001217/0.001217, allocations: 179 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.514/1.514, 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.0008109/0.0008108, allocations: 97.78 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 8.531 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7392, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002302/0.7416, allocations: 1.208 MB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.7431, allocations: 0.9969 MB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.7432, allocations: 1.062 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.7432, allocations: 3.938 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.7433, allocations: 13.64 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.7439, allocations: 96.44 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.744, allocations: 76.92 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.7442, allocations: 10.23 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.7443, allocations: 32.98 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.7444, allocations: 37.61 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.7444, allocations: 1 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.7446, allocations: 81.8 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.7446, allocations: 16.92 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.7447, allocations: 57.55 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.745, allocations: 136.9 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.745, allocations: 3.938 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.397e-06/0.745, allocations: 1.984 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.745, allocations: 3.438 kB / 1.044 GB, free: 56.57 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.0005848/0.7456, allocations: 412.8 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7457, allocations: 8.156 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.7457, allocations: 12.88 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.7458, allocations: 172.1 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.7459, allocations: 4.125 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.7459, allocations: 3.031 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.7461, allocations: 77.94 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7461, allocations: 2.375 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.7461, allocations: 0 / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7461, allocations: 5.016 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.7463, allocations: 43.06 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.7468, allocations: 327.7 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.747, allocations: 46.7 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.747, allocations: 41.39 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.7471, allocations: 0 / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.7473, allocations: 81.45 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.7473, allocations: 2.344 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004147/0.7477, allocations: 143.3 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.7478, allocations: 56.84 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.7478, allocations: 120.5 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.7479, allocations: 29.55 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.7479, allocations: 92.94 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.7479, allocations: 20.53 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.7479, allocations: 0.6875 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.748, allocations: 324.9 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.7481, allocations: 31.38 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.7482, allocations: 55.41 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.7483, allocations: 79.56 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7484, allocations: 0 / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002207/0.7486, allocations: 121.3 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7486, allocations: 7.406 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7486, allocations: 3.438 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7486, allocations: 0 / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.7487, allocations: 14.66 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.7488, allocations: 2.609 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.7488, allocations: 15.27 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.7489, allocations: 4.438 kB / 1.046 GB, free: 54.62 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.152e-05/0.7489, allocations: 129.2 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.749, allocations: 14.48 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.749, allocations: 8 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.749, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.749, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.749, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.7494, allocations: 393.2 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.7494, allocations: 2.25 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.7495, allocations: 2.75 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7495, allocations: 3.25 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.7495, allocations: 0.8438 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7495, allocations: 0 / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7495, allocations: 3.938 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.7498, allocations: 225 kB / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.7498, allocations: 84.48 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.7498, allocations: 4.297 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.7499, allocations: 4.781 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.75, allocations: 10.3 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.75, allocations: 8.703 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.75, allocations: 94.25 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.91e-07/0.75, allocations: 1.219 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002653/0.7503, allocations: 40.11 kB / 1.047 GB, free: 53.77 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.0003625/0.7507, allocations: 169 kB / 1.047 GB, free: 53.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.7509, allocations: 83.78 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7509, allocations: 0 / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.751, allocations: 36.7 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.7513, allocations: 9.078 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.7517, allocations: 210.2 kB / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.7518, allocations: 0.6916 MB / 1.048 GB, free: 52.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.7519, allocations: 4.266 kB / 1.048 GB, free: 52.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.7519, allocations: 13.56 kB / 1.048 GB, free: 52.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.81e-07/0.7519, allocations: 0 / 1.048 GB, free: 52.76 MB / 0.698 GB Notification: Performance of Templates: time 0.003924/0.7559, allocations: 1.362 MB / 1.049 GB, free: 52.62 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)