Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 209.2 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9646/0.9646, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.937/1.937, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009204/0.0009204, allocations: 71.83 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7444, allocations: 180 MB / 1.352 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00207/0.7465, allocations: 0.8548 MB / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.7476, allocations: 1.194 MB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.7477, allocations: 4 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.7477, allocations: 7.875 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.7478, allocations: 19.8 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.7483, allocations: 157.4 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.7485, allocations: 163.7 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.7486, allocations: 21.3 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.7487, allocations: 67.83 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.7488, allocations: 71.72 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.7488, allocations: 12 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.7488, allocations: 23.98 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.7489, allocations: 27.92 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.7489, allocations: 55.77 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.7491, allocations: 165.6 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7491, allocations: 4 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7491, allocations: 0 / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.7492, allocations: 0 / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005331/0.7497, allocations: 426 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7497, allocations: 12.86 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.7498, allocations: 42.73 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.7498, allocations: 12.89 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.7501, allocations: 190.4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7501, allocations: 8.375 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.7501, allocations: 16.38 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.7503, allocations: 93.89 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7503, allocations: 3.984 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7503, allocations: 8 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7503, allocations: 0 / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.7504, allocations: 47.95 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.7509, allocations: 331.6 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.7509, allocations: 34.56 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.751, allocations: 28.95 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.751, allocations: 4 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.7512, allocations: 99.23 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.7512, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0002771/0.7515, allocations: 129.5 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.7515, allocations: 67.33 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7516, allocations: 147.3 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.7516, allocations: 33.7 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.7517, allocations: 111.8 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.7517, allocations: 31.88 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.7518, allocations: 45.7 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.7519, allocations: 322.8 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.752, allocations: 77.66 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7521, allocations: 168.8 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.7523, allocations: 204.6 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7523, allocations: 4 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002837/0.7526, allocations: 265 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.7526, allocations: 45.75 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7526, allocations: 3.984 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.7526, allocations: 4 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.7529, allocations: 31.86 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.7529, allocations: 4 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.753, allocations: 39.84 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.753, allocations: 23.94 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 8.137e-05/0.7531, allocations: 137 kB / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.7531, allocations: 7.953 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.7532, allocations: 12.72 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7532, allocations: 3.938 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7532, allocations: 4 kB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7532, allocations: 0 / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.7535, allocations: 369.7 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7535, allocations: 3.984 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.7535, allocations: 15.94 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7535, allocations: 4 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.7536, allocations: 7.922 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7536, allocations: 0 / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7536, allocations: 0 / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.7538, allocations: 235.4 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.7538, allocations: 23.81 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.7538, allocations: 4 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.345e-05/0.7539, allocations: 12 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.7539, allocations: 3.984 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.7539, allocations: 7.984 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.7539, allocations: 105.3 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.7539, allocations: 0 / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001871/0.7541, allocations: 28 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004728/0.7546, allocations: 0.7864 MB / 1.36 GB, free: 9.574 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.7549, allocations: 196.9 kB / 1.36 GB, free: 9.363 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7549, allocations: 0 / 1.36 GB, free: 9.363 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.7549, allocations: 36.25 kB / 1.36 GB, free: 9.328 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.7552, allocations: 21.19 kB / 1.36 GB, free: 9.309 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.7568, allocations: 2.091 MB / 1.362 GB, free: 7.031 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.7569, allocations: 93.62 kB / 1.362 GB, free: 6.922 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.7569, allocations: 20.58 kB / 1.362 GB, free: 6.898 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.757, allocations: 39.42 kB / 1.362 GB, free: 6.859 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.757, allocations: 0 / 1.362 GB, free: 6.859 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08413/0.8411, allocations: 3.839 MB / 1.366 GB, free: 3.199 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/8.18, allocations: 5.281 kB / 1.366 GB, free: 3.199 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.070465186610818]