Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001003/0.001003, allocations: 104.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.001309/0.001309, allocations: 214.8 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 1.049/1.049, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.996/1.996, allocations: 0.5045 GB / 0.8104 GB, free: 2.727 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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 67.91 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8039, allocations: 180 MB / 1.352 GB, free: 1.547 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002179/0.8061, allocations: 0.933 MB / 1.353 GB, free: 0.6172 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.8077, allocations: 1.455 MB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.8078, allocations: 4 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.8078, allocations: 15.8 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.808, allocations: 59.56 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.8089, allocations: 445.3 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.8093, allocations: 491.1 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.8094, allocations: 29.95 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.8096, allocations: 183.6 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.8098, allocations: 151.4 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.8098, allocations: 48 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.8099, allocations: 63.98 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.8099, allocations: 35.8 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.8101, allocations: 143.6 kB / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.8104, allocations: 0.5007 MB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8104, allocations: 0 / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8104, allocations: 4 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8104, allocations: 0 / 1.357 GB, free: 13.02 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.0006983/0.8111, allocations: 0.5586 MB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.8112, allocations: 12.92 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.8112, allocations: 34.75 kB / 1.357 GB, free: 12.35 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.8113, allocations: 32.8 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.8114, allocations: 173.2 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.8115, allocations: 16.38 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.8115, allocations: 20.38 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.8117, allocations: 129.5 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8117, allocations: 7.922 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8117, allocations: 7.984 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.8117, allocations: 4 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.8118, allocations: 47.92 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.8125, allocations: 0.7501 MB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.8126, allocations: 110.5 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.8126, allocations: 55.36 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.8127, allocations: 4 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.8129, allocations: 174.6 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.8129, allocations: 3.938 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.0003412/0.8133, allocations: 229.4 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.8133, allocations: 140.5 kB / 1.359 GB, free: 10.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.8135, allocations: 240.8 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.8135, allocations: 33.7 kB / 1.36 GB, free: 9.98 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.8136, allocations: 128.5 kB / 1.36 GB, free: 9.852 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.8136, allocations: 43.72 kB / 1.36 GB, free: 9.809 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.8138, allocations: 93.66 kB / 1.36 GB, free: 9.711 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.8138, allocations: 334.8 kB / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.8141, allocations: 275 kB / 1.36 GB, free: 9.078 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.8144, allocations: 356 kB / 1.361 GB, free: 8.672 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.8147, allocations: 372.9 kB / 1.361 GB, free: 8.246 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8147, allocations: 0 / 1.361 GB, free: 8.246 MB / 1.042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006185/0.8153, allocations: 0.6863 MB / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.8153, allocations: 134.8 kB / 1.362 GB, free: 7.348 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8153, allocations: 0 / 1.362 GB, free: 7.348 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.8154, allocations: 4.25 kB / 1.362 GB, free: 7.344 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.8154, allocations: 19.94 kB / 1.362 GB, free: 7.324 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8154, allocations: 4 kB / 1.362 GB, free: 7.32 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.8159, allocations: 115.7 kB / 1.362 GB, free: 7.207 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.8159, allocations: 23.97 kB / 1.362 GB, free: 7.184 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001359/0.8161, allocations: 155.2 kB / 1.362 GB, free: 7.023 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.8161, allocations: 15.91 kB / 1.362 GB, free: 7.008 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.8161, allocations: 26.27 kB / 1.362 GB, free: 6.973 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8161, allocations: 4 kB / 1.362 GB, free: 6.969 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8162, allocations: 4 kB / 1.362 GB, free: 6.965 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8162, allocations: 3.938 kB / 1.362 GB, free: 6.961 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.8164, allocations: 212.6 kB / 1.362 GB, free: 6.711 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8164, allocations: 0 / 1.362 GB, free: 6.711 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.8164, allocations: 19.94 kB / 1.362 GB, free: 6.691 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8164, allocations: 0 / 1.362 GB, free: 6.691 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.8164, allocations: 7.984 kB / 1.362 GB, free: 6.684 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8164, allocations: 4 kB / 1.362 GB, free: 6.68 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8164, allocations: 0 / 1.362 GB, free: 6.68 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.8167, allocations: 223.4 kB / 1.363 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.8167, allocations: 19.89 kB / 1.363 GB, free: 6.414 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.8168, allocations: 8 kB / 1.363 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.8168, allocations: 0 / 1.363 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.8168, allocations: 27.84 kB / 1.363 GB, free: 6.379 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.8169, allocations: 4 kB / 1.363 GB, free: 6.375 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001354/0.817, allocations: 176.5 kB / 1.363 GB, free: 6.203 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.817, allocations: 0 / 1.363 GB, free: 6.203 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003403/0.8173, allocations: 75.83 kB / 1.363 GB, free: 6.129 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005749/0.8179, allocations: 0.7706 MB / 1.364 GB, free: 5.324 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.8186, allocations: 0.6056 MB / 1.364 GB, free: 4.645 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8186, allocations: 0.5 kB / 1.364 GB, free: 4.645 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/0.8187, allocations: 55.92 kB / 1.364 GB, free: 4.59 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.8191, allocations: 64.31 kB / 1.364 GB, free: 4.527 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.823, allocations: 3.537 MB / 1.368 GB, free: 0.707 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.481e-05/0.8231, allocations: 120.9 kB / 1.368 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.8232, allocations: 22.39 kB / 1.368 GB, free: 0.5352 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.8232, allocations: 55.36 kB / 1.368 GB, free: 492 kB / 1.042 GB Notification: Performance of SimCode: time 1.403e-06/0.8233, allocations: 4 kB / 1.368 GB, free: 488 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08486/0.9081, allocations: 7.532 MB / 1.375 GB, free: 9.199 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/8.133, allocations: 17.44 kB / 1.375 GB, free: 9.188 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.148528257384896]