Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.0009908/0.0009908, allocations: 108.3 kB / 19.73 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.001621/0.001621, allocations: 214.8 kB / 23.03 MB, free: 2.953 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.107/1.107, allocations: 230.6 MB / 256.8 MB, free: 9.57 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 2.016/2.016, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 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.Sources.Validation.Pulse,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009973/0.0009973, allocations: 71.89 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8018, allocations: 180 MB / 1.352 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00177/0.8036, allocations: 0.7135 MB / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.8051, allocations: 1.151 MB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.8051, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.8051, allocations: 3.938 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.8052, allocations: 11.88 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.8056, allocations: 128.3 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.8058, allocations: 123.8 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.8059, allocations: 11.98 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.8059, allocations: 55.84 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.806, allocations: 31.89 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.806, allocations: 12 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.8061, allocations: 27.97 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.8061, allocations: 4 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.8061, allocations: 39.86 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.8063, allocations: 137.9 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8063, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8063, allocations: 3.938 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8063, allocations: 4 kB / 1.355 GB, free: 15.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004296/0.8068, allocations: 319.9 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8068, allocations: 12.86 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.8068, allocations: 34.73 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.8069, allocations: 8.875 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/0.807, allocations: 122.4 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.807, allocations: 4.375 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.807, allocations: 4.375 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.8071, allocations: 42.25 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8071, allocations: 3.938 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8071, allocations: 3.984 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8071, allocations: 0 / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.8071, allocations: 16 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.8075, allocations: 287.8 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.8076, allocations: 26.58 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.8076, allocations: 8.922 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.8076, allocations: 0 / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.8078, allocations: 71.38 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8078, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.808, allocations: 81.56 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.808, allocations: 51.41 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.8081, allocations: 129.8 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.8081, allocations: 29.7 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.8082, allocations: 88.14 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.8082, allocations: 11.89 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.8082, allocations: 33.7 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.8083, allocations: 318.8 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.8084, allocations: 65.69 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.8085, allocations: 92.25 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.141e-05/0.8085, allocations: 92.2 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8085, allocations: 0 / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001941/0.8087, allocations: 201 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.8088, allocations: 45.62 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8088, allocations: 4 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8088, allocations: 0 / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.8088, allocations: 4 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8088, allocations: 3.938 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.809, allocations: 23.97 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.809, allocations: 11.98 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 6.377e-05/0.809, allocations: 126.3 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.809, allocations: 7.953 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.8091, allocations: 8 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8091, allocations: 0 / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8091, allocations: 0 / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8091, allocations: 4 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.347e-05/0.8092, allocations: 140.7 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8092, allocations: 0 / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.8092, allocations: 4 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.8092, allocations: 0 / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.8092, allocations: 4 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8092, allocations: 0 / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8092, allocations: 0 / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.8093, allocations: 100.9 kB / 1.357 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.8093, allocations: 7.953 kB / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.8093, allocations: 0 / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.8093, allocations: 0 / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.8094, allocations: 7.984 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.8094, allocations: 0 / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.8094, allocations: 103.6 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8094, allocations: 0 / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000147/0.8096, allocations: 20 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.000311/0.8099, allocations: 0.6319 MB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.81, allocations: 153 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.81, allocations: 0 / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.8101, allocations: 19.92 kB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.8103, allocations: 15.92 kB / 1.358 GB, free: 11.24 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.8114, allocations: 1.629 MB / 1.36 GB, free: 9.484 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.8115, allocations: 71.27 kB / 1.36 GB, free: 9.395 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.8115, allocations: 4 kB / 1.36 GB, free: 9.391 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.8115, allocations: 19.44 kB / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of SimCode: time 6.21e-07/0.8115, allocations: 0 / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07515/0.8867, allocations: 3.023 MB / 1.363 GB, free: 6.527 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.956, allocations: 8.891 kB / 1.363 GB, free: 6.527 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.071985920891166]