Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.76/1.76, 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.000942/0.0009421, allocations: 175.5 kB / 393.1 MB, free: 4.098 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.584/1.584, 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.0007361/0.0007358, allocations: 94.22 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003681, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5917, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.0016/0.5934, allocations: 1.217 MB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.5946, allocations: 0.9925 MB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.5946, allocations: 1.531 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.5946, allocations: 5.906 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.5947, allocations: 5.938 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.5951, allocations: 101.3 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.5953, allocations: 72.81 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.5953, allocations: 8.266 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.5954, allocations: 38.19 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.5955, allocations: 31.42 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.5955, allocations: 6.469 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.5957, allocations: 79.17 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.5957, allocations: 18.17 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.5958, allocations: 56.33 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.596, allocations: 135.8 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.596, allocations: 0 / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.596, allocations: 3.938 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.596, allocations: 0.6875 kB / 1.044 GB, free: 56.33 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.000578/0.5966, allocations: 413.6 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5967, allocations: 12.31 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.5967, allocations: 7.312 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.5968, allocations: 176 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.5969, allocations: 9.266 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.5969, allocations: 3.594 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.5971, allocations: 78.03 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5971, allocations: 0 / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5971, allocations: 2 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5971, allocations: 0 / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.5973, allocations: 49.03 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.5978, allocations: 322.5 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.5979, allocations: 56.81 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.598, allocations: 37.41 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.598, allocations: 0 / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.5982, allocations: 82.83 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5982, allocations: 0 / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003666/0.5986, allocations: 151.5 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.5986, allocations: 55.88 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.5987, allocations: 118.5 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.5987, allocations: 31.64 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.5988, allocations: 93.33 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.5988, allocations: 17.59 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.5988, allocations: 0 / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.5989, allocations: 323.8 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.5989, allocations: 30.98 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.599, allocations: 57.44 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.5992, allocations: 78.78 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5992, allocations: 0 / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002152/0.5994, allocations: 123.6 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5994, allocations: 7.406 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5995, allocations: 5.969 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5995, allocations: 0.5625 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.5996, allocations: 21.98 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5996, allocations: 0 / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.5997, allocations: 10.81 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.5997, allocations: 7.344 kB / 1.046 GB, free: 54.38 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 6.61e-05/0.5997, allocations: 122.2 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.5998, allocations: 11.75 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.5998, allocations: 8.375 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5998, allocations: 1.281 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5998, allocations: 1.969 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5998, allocations: 0 / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.6002, allocations: 388.3 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6002, allocations: 2.969 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.6003, allocations: 7.188 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6003, allocations: 2.391 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6003, allocations: 1.062 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6003, allocations: 0 / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6003, allocations: 6.094 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.6005, allocations: 219.2 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.6006, allocations: 86.39 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.6006, allocations: 7.312 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.6007, allocations: 2.344 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.6007, allocations: 10.91 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6007, allocations: 3.562 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.6008, allocations: 97.22 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6008, allocations: 0 / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002498/0.601, allocations: 37.7 kB / 1.047 GB, free: 53.54 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.0002984/0.6013, allocations: 173.4 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.6016, allocations: 84.81 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6016, allocations: 0 / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.6017, allocations: 36.92 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.6019, allocations: 0.8125 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.6022, allocations: 214.4 kB / 1.047 GB, free: 53.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.6024, allocations: 0.6914 MB / 1.048 GB, free: 52.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.6024, allocations: 4.812 kB / 1.048 GB, free: 52.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.6024, allocations: 11.12 kB / 1.048 GB, free: 52.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6024, allocations: 0 / 1.048 GB, free: 52.52 MB / 0.698 GB Notification: Performance of Templates: time 0.003277/0.6057, allocations: 1.361 MB / 1.049 GB, free: 52.39 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)