Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.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.0008571/0.0008571, allocations: 100.3 kB / 19.72 MB, free: 428 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.0007912/0.0007912, allocations: 214.8 kB / 23.03 MB, free: 2.969 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 1.014/1.014, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.955/1.955, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009005/0.0009005, allocations: 63.91 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7952, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002815/0.798, allocations: 1.789 MB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.7989, allocations: 0.5416 MB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.799, allocations: 7.938 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.7992, allocations: 19.73 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.7992, allocations: 35.72 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.7994, allocations: 59.88 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.7997, allocations: 183.5 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.7998, allocations: 39.94 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.7999, allocations: 55.72 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.7999, allocations: 51.64 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.8, allocations: 12 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.8, allocations: 12 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.8, allocations: 27.91 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.8001, allocations: 55.67 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.8002, allocations: 135.3 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8002, allocations: 3.984 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8002, allocations: 0 / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.8002, allocations: 0 / 1.355 GB, free: 14.63 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006059/0.8008, allocations: 423.2 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.8009, allocations: 12.92 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.8009, allocations: 42.75 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.801, allocations: 24.78 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.8012, allocations: 182.7 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8012, allocations: 8.375 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.8013, allocations: 16.38 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.8015, allocations: 153.9 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.8015, allocations: 4 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.8016, allocations: 0 / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.8016, allocations: 4 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.8018, allocations: 75.88 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.8024, allocations: 0.6801 MB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.703e-05/0.8025, allocations: 50.48 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.8026, allocations: 28.84 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.8026, allocations: 7.922 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.8028, allocations: 130.7 kB / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.8028, allocations: 0 / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0003011/0.8031, allocations: 169.3 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.8031, allocations: 132.5 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.8033, allocations: 198.8 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.8033, allocations: 33.95 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.8033, allocations: 139.7 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.8034, allocations: 35.84 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.8034, allocations: 45.7 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.8035, allocations: 330.8 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.8035, allocations: 35.97 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.8036, allocations: 148.7 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.8038, allocations: 206.3 kB / 1.359 GB, free: 11.01 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8038, allocations: 4 kB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002131/0.804, allocations: 205.5 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8041, allocations: 8 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8041, allocations: 4 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8041, allocations: 4 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.8041, allocations: 39.84 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.8041, allocations: 7.938 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.8042, allocations: 27.88 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.8042, allocations: 8.188 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (21): * Single equations (assignments): 21 * 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 8.268e-05/0.8043, allocations: 145.7 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.8043, allocations: 15.91 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.8044, allocations: 21.39 kB / 1.359 GB, free: 10.51 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8044, allocations: 4 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8044, allocations: 0 / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8044, allocations: 4 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.8048, allocations: 480.7 kB / 1.36 GB, free: 9.98 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8048, allocations: 4 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.8048, allocations: 20.23 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8048, allocations: 4 kB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.8049, allocations: 8 kB / 1.36 GB, free: 9.945 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8049, allocations: 7.938 kB / 1.36 GB, free: 9.938 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8049, allocations: 0 / 1.36 GB, free: 9.938 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.8051, allocations: 356.2 kB / 1.36 GB, free: 9.566 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.8052, allocations: 15.86 kB / 1.36 GB, free: 9.551 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.8052, allocations: 12.05 kB / 1.36 GB, free: 9.539 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.8053, allocations: 15.91 kB / 1.36 GB, free: 9.523 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.8053, allocations: 15.98 kB / 1.36 GB, free: 9.508 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.8053, allocations: 4 kB / 1.36 GB, free: 9.504 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.8054, allocations: 144.3 kB / 1.36 GB, free: 9.363 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8054, allocations: 0 / 1.36 GB, free: 9.363 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002043/0.8056, allocations: 28 kB / 1.36 GB, free: 9.336 MB / 1.042 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 (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.000447/0.806, allocations: 0.9009 MB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.8062, allocations: 120.8 kB / 1.361 GB, free: 8.285 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8062, allocations: 0 / 1.361 GB, free: 8.285 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.8063, allocations: 52.09 kB / 1.361 GB, free: 8.234 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.8066, allocations: 67.86 kB / 1.361 GB, free: 8.172 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.8083, allocations: 2.26 MB / 1.363 GB, free: 5.723 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.845e-05/0.8083, allocations: 112.1 kB / 1.364 GB, free: 5.594 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.856e-05/0.8084, allocations: 17.61 kB / 1.364 GB, free: 5.578 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.8084, allocations: 51.41 kB / 1.364 GB, free: 5.527 MB / 1.042 GB Notification: Performance of SimCode: time 5.61e-07/0.8084, allocations: 0 / 1.364 GB, free: 5.527 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07502/0.8835, allocations: 4.782 MB / 1.368 GB, free: 0.9375 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/8.379, allocations: 11.52 kB / 1.368 GB, free: 0.9297 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_IntegratorWithReset.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.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_Utilities_Math_Examples_IntegratorWithReset.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.264943983405828]