Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.00132/0.00132, allocations: 187.5 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.583/1.583, 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.0007334/0.0007335, allocations: 88.8 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.605, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001924/0.607, allocations: 1.213 MB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.6083, allocations: 0.993 MB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.6084, allocations: 0 / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.6084, allocations: 4.5 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.6085, allocations: 13.7 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.609, allocations: 104.7 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.6091, allocations: 73.22 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.6092, allocations: 5.625 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.6093, allocations: 38.33 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.6093, allocations: 34.98 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.6094, allocations: 4 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.6095, allocations: 81.11 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.6096, allocations: 11.36 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.6096, allocations: 58.88 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.6098, allocations: 143.4 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.6099, allocations: 0 / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6099, allocations: 0 / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6099, allocations: 0 / 1.044 GB, free: 56.46 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.0005248/0.6104, allocations: 411.4 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6105, allocations: 8.781 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.6105, allocations: 13.97 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.6106, allocations: 168.4 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.6106, allocations: 11.69 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.6107, allocations: 3.859 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.6109, allocations: 76.17 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6109, allocations: 2.625 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.6109, allocations: 5.219 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6109, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.611, allocations: 45.3 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.6116, allocations: 324.5 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.6117, allocations: 54.16 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.6118, allocations: 35.27 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.6119, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.6121, allocations: 82.09 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6121, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003824/0.6125, allocations: 145.3 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.6125, allocations: 54.41 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.6126, allocations: 123.5 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.6126, allocations: 30.52 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.6126, allocations: 97.09 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.6127, allocations: 16.47 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.6127, allocations: 1.062 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.6127, allocations: 324.2 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.6128, allocations: 35.8 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.251e-05/0.6129, allocations: 55.84 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.6131, allocations: 73.14 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6131, allocations: 1.344 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.6133, allocations: 120 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6133, allocations: 2.125 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6133, allocations: 3.281 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.6134, allocations: 0 / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6135, allocations: 19.98 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6135, allocations: 3.844 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.6135, allocations: 8.516 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6136, allocations: 3.438 kB / 1.046 GB, free: 54.53 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.427e-05/0.6136, allocations: 127.8 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.6137, allocations: 6.844 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.6137, allocations: 11.12 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6137, allocations: 1.828 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6137, allocations: 0 / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6137, allocations: 5.328 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.6141, allocations: 391.7 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6141, allocations: 0 / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.6142, allocations: 2.812 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6142, allocations: 1.125 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.6142, allocations: 9 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6142, allocations: 3.938 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6142, allocations: 3.938 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.6145, allocations: 219.7 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.6145, allocations: 88.59 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.6145, allocations: 4 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.6146, allocations: 5.047 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.6147, allocations: 10.41 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6147, allocations: 1.844 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.6147, allocations: 98.25 kB / 1.047 GB, free: 53.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.51e-07/0.6147, allocations: 0 / 1.047 GB, free: 53.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002742/0.615, allocations: 37.59 kB / 1.047 GB, free: 53.68 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.0003925/0.6154, allocations: 174.6 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.6156, allocations: 82.8 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6157, allocations: 0 / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.6158, allocations: 43.58 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.616, allocations: 6.031 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.6164, allocations: 208.6 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.6165, allocations: 0.6849 MB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.6166, allocations: 7.031 kB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.6166, allocations: 15.78 kB / 1.048 GB, free: 52.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6166, allocations: 4 kB / 1.048 GB, free: 52.66 MB / 0.698 GB Notification: Performance of Templates: time 0.003875/0.6205, allocations: 1.359 MB / 1.049 GB, free: 52.53 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)