Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadModel(Buildings): time 3.915/3.915, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.149e-05, allocations: 4 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.602, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.7957, allocations: 125.7 MB / 0.7517 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.796, allocations: 83.94 kB / 0.7518 GB, free: 1.723 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.8087, allocations: 2.905 MB / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.992e-06/0.8087, allocations: 4 kB / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.8e-06/0.8087, allocations: 0 / 0.7546 GB, free: 14.81 MB / 0.6355 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.000583/0.8093, allocations: 416 kB / 0.755 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.8094, allocations: 8.031 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.8094, allocations: 7.953 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.8096, allocations: 178.8 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.8097, allocations: 0 / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.8097, allocations: 4 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001009/0.8098, allocations: 23.98 kB / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.8099, allocations: 53.67 kB / 0.7553 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.81, allocations: 0 / 0.7553 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.81, allocations: 4 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-06/0.81, allocations: 4 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.8107, allocations: 289.3 kB / 0.7556 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.8108, allocations: 38.58 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.8109, allocations: 20.98 kB / 0.7556 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.8109, allocations: 4 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.8111, allocations: 77.53 kB / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.481e-06/0.8111, allocations: 0 / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003152/0.8114, allocations: 101.5 kB / 0.7558 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.8115, allocations: 55.41 kB / 0.7559 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.8116, allocations: 112.9 kB / 0.756 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.8117, allocations: 25.7 kB / 0.756 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.8118, allocations: 100.2 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.8118, allocations: 7.906 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.8118, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.812, allocations: 322.8 kB / 0.7564 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.812, allocations: 16 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.8121, allocations: 34.58 kB / 0.7565 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.8122, allocations: 23.98 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-06/0.8123, allocations: 4 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002448/0.8125, allocations: 93.58 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8125, allocations: 4 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-06/0.8126, allocations: 3.938 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8126, allocations: 4 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.8127, allocations: 12 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.266e-06/0.8127, allocations: 7.922 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.8128, allocations: 19.86 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.8129, allocations: 4 kB / 0.7566 GB, free: 12.55 MB / 0.6355 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.971e-05/0.813, allocations: 105 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.813, allocations: 4 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.8131, allocations: 12.61 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8131, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-06/0.8131, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.191e-06/0.8131, allocations: 4 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.8136, allocations: 342.9 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-06/0.8136, allocations: 0 / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.8137, allocations: 7.984 kB / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8137, allocations: 0 / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.8137, allocations: 0 / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.541e-06/0.8138, allocations: 7.938 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8138, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.8141, allocations: 195.5 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.8141, allocations: 85 kB / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.8142, allocations: 4 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.8143, allocations: 4 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.8144, allocations: 7.969 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.8144, allocations: 4 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.8145, allocations: 99.88 kB / 0.7575 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.09e-07/0.8145, allocations: 3.938 kB / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004263/0.815, allocations: 40 kB / 0.7575 GB, free: 11.55 MB / 0.6355 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004439/0.8154, allocations: 179.2 kB / 0.7577 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.8156, allocations: 51.92 kB / 0.7577 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.419e-06/0.8156, allocations: 0 / 0.7577 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.8157, allocations: 28.12 kB / 0.7578 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.816, allocations: 14.05 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.8163, allocations: 88.55 kB / 0.7579 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.8167, allocations: 0.6962 MB / 0.7585 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.8167, allocations: 4.734 kB / 0.7585 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.8168, allocations: 19.38 kB / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.8168, allocations: 4 kB / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.005136/0.822, allocations: 1.503 MB / 0.76 GB, free: 8.93 MB / 0.6355 GB