Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.485/2.485, allocations: 254.9 MB / 269.9 MB, free: 9.652 MB / 218.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.001381/0.001381, allocations: 196.1 kB / 329.5 MB, free: 1.18 MB / 250.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 2.698/2.698, allocations: 225.6 MB / 0.6001 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009618, allocations: 94.25 kB / 0.7074 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005031, allocations: 13.16 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2069, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002017/0.2089, allocations: 1.401 MB / 0.9322 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.2097, allocations: 279.3 kB / 0.9324 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2098, allocations: 7.938 kB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.21, allocations: 11.86 kB / 0.9324 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.21, allocations: 19.84 kB / 0.9325 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2103, allocations: 47.89 kB / 0.9325 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2105, allocations: 127.6 kB / 0.9326 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2107, allocations: 41.72 kB / 0.9327 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.2107, allocations: 39.78 kB / 0.9327 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.2108, allocations: 43.72 kB / 0.9328 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.2109, allocations: 4 kB / 0.9328 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.2109, allocations: 4 kB / 0.9328 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.2109, allocations: 19.92 kB / 0.9328 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.211, allocations: 49.62 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.2111, allocations: 99.94 kB / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2112, allocations: 0 / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2112, allocations: 0 / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2112, allocations: 0 / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007256/0.2119, allocations: 450.9 kB / 0.9334 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.212, allocations: 8.031 kB / 0.9334 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.212, allocations: 20.73 kB / 0.9334 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2123, allocations: 217.7 kB / 0.9336 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2123, allocations: 8.375 kB / 0.9336 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.2123, allocations: 16.38 kB / 0.9336 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.2127, allocations: 152.5 kB / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2128, allocations: 3.938 kB / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.2128, allocations: 4 kB / 0.9338 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2128, allocations: 4 kB / 0.9338 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.2132, allocations: 83.88 kB / 0.9338 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.2143, allocations: 0.7353 MB / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2145, allocations: 54.48 kB / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2147, allocations: 44.83 kB / 0.9347 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.2147, allocations: 4 kB / 0.9347 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.2151, allocations: 122.7 kB / 0.9348 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.2151, allocations: 0 / 0.9348 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0007057/0.2158, allocations: 185.5 kB / 0.935 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.2159, allocations: 136.5 kB / 0.9351 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.2161, allocations: 190.5 kB / 0.9353 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2161, allocations: 29.7 kB / 0.9353 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.2162, allocations: 120 kB / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2163, allocations: 31.75 kB / 0.9354 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.2163, allocations: 0 / 0.9354 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.2164, allocations: 334.8 kB / 0.9358 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2166, allocations: 43.97 kB / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2168, allocations: 127.9 kB / 0.9359 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.217, allocations: 59.86 kB / 0.936 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2171, allocations: 0 / 0.936 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005511/0.2176, allocations: 193.2 kB / 0.9362 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2177, allocations: 12.34 kB / 0.9362 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2177, allocations: 0 / 0.9362 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.2177, allocations: 8 kB / 0.9362 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2179, allocations: 35.92 kB / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2179, allocations: 11.92 kB / 0.9362 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2182, allocations: 27.83 kB / 0.9363 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.2182, allocations: 8 kB / 0.9363 GB, free: 18.93 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001149/0.2183, allocations: 133.8 kB / 0.9364 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.2184, allocations: 19.98 kB / 0.9364 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.2184, allocations: 25.33 kB / 0.9364 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2184, allocations: 7.984 kB / 0.9364 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2184, allocations: 0 / 0.9364 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2185, allocations: 0 / 0.9364 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2195, allocations: 0.5249 MB / 0.937 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.2195, allocations: 0 / 0.937 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.2198, allocations: 16.3 kB / 0.937 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2198, allocations: 4 kB / 0.937 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.2198, allocations: 8 kB / 0.937 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2198, allocations: 4 kB / 0.937 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2198, allocations: 3.938 kB / 0.937 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.2205, allocations: 376.2 kB / 0.9374 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2206, allocations: 96.89 kB / 0.9374 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2206, allocations: 0 / 0.9374 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2209, allocations: 23.98 kB / 0.9375 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.221, allocations: 15.92 kB / 0.9375 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.221, allocations: 4 kB / 0.9375 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001261/0.2211, allocations: 136.9 kB / 0.9376 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2212, allocations: 0 / 0.9376 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000413/0.2216, allocations: 31.84 kB / 0.9376 GB, free: 17.41 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001592/0.2217, allocations: 123.2 kB / 0.9378 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.2222, allocations: 108.5 kB / 0.9379 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2222, allocations: 3.938 kB / 0.9379 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.2225, allocations: 60.03 kB / 0.9379 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.2232, allocations: 42.41 kB / 0.938 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.2241, allocations: 390.8 kB / 0.9383 GB, free: 16.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.2242, allocations: 0.7166 MB / 0.939 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.194e-05/0.2243, allocations: 13.42 kB / 0.9391 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.2244, allocations: 15.44 kB / 0.9391 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.2244, allocations: 0 / 0.9391 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.005562/0.23, allocations: 1.436 MB / 0.9405 GB, free: 14.46 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)