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.001093/0.001093, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0009961/0.0009961, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9316/0.9316, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.901/1.901, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 3.777e-06/3.777e-06, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/3.086e-05, allocations: 2.281 kB / 1.001 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002164/0.002195, allocations: 0.7195 MB / 1.001 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003594, allocations: 1.14 MB / 1.003 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.003646, allocations: 0 / 1.003 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.003675, allocations: 3.938 kB / 1.003 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.00376, allocations: 15.88 kB / 1.003 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.004186, allocations: 134.3 kB / 1.003 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.004351, allocations: 131.7 kB / 1.003 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004472, allocations: 4 kB / 1.003 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004585, allocations: 71.89 kB / 1.003 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.00469, allocations: 35.88 kB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.004716, allocations: 12 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.004785, allocations: 20 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.004812, allocations: 11.92 kB / 1.003 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.00487, allocations: 31.97 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.005097, allocations: 155.6 kB / 1.003 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.005104, allocations: 4 kB / 1.003 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005107, allocations: 0 / 1.003 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.005112, allocations: 0 / 1.003 GB, free: 9.855 MB / 0.9167 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.0005798/0.005692, allocations: 323.8 kB / 1.003 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.005749, allocations: 9.344 kB / 1.003 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.005786, allocations: 38.75 kB / 1.003 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.00584, allocations: 8.891 kB / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005964, allocations: 113.7 kB / 1.004 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.005984, allocations: 12.3 kB / 1.004 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.006003, allocations: 8.375 kB / 1.004 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.006115, allocations: 46.25 kB / 1.004 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006125, allocations: 192 / 1.004 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.006138, allocations: 4.375 kB / 1.004 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.006146, allocations: 4.125 kB / 1.004 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.00619, allocations: 11.94 kB / 1.004 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.006644, allocations: 287.8 kB / 1.004 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/0.006714, allocations: 30.58 kB / 1.004 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.006741, allocations: 16.91 kB / 1.004 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.00675, allocations: 3.938 kB / 1.004 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.006921, allocations: 63.39 kB / 1.004 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.006923, allocations: 0 / 1.004 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.007119, allocations: 77.58 kB / 1.004 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.00716, allocations: 59.41 kB / 1.004 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.007252, allocations: 121.8 kB / 1.004 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.007272, allocations: 29.7 kB / 1.004 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.007326, allocations: 88.14 kB / 1.004 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.007339, allocations: 7.953 kB / 1.004 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.007386, allocations: 33.69 kB / 1.004 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.007472, allocations: 318.8 kB / 1.005 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.007553, allocations: 65.69 kB / 1.005 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.007631, allocations: 92.25 kB / 1.005 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.00772, allocations: 92.2 kB / 1.005 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.007723, allocations: 4 kB / 1.005 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002236/0.007947, allocations: 201 kB / 1.005 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.007989, allocations: 37.69 kB / 1.005 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007996, allocations: 4 kB / 1.005 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.008015, allocations: 0 / 1.005 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.008082, allocations: 4 kB / 1.005 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.008088, allocations: 4.062 kB / 1.005 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.008221, allocations: 27.92 kB / 1.005 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.008238, allocations: 11.98 kB / 1.005 GB, free: 7.383 MB / 0.9167 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 8.431e-05/0.008323, allocations: 121.8 kB / 1.005 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.008333, allocations: 3.938 kB / 1.005 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.008363, allocations: 8 kB / 1.005 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008366, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.008371, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.008377, allocations: 11.92 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.008478, allocations: 140.7 kB / 1.006 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.00848, allocations: 3.938 kB / 1.006 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.008495, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008497, allocations: 240 / 1.006 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.008505, allocations: 4 kB / 1.006 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.008507, allocations: 3.984 kB / 1.006 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008509, allocations: 0 / 1.006 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.008614, allocations: 97 kB / 1.006 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.008627, allocations: 7.891 kB / 1.006 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.00864, allocations: 4 kB / 1.006 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.779e-05/0.008658, allocations: 4 kB / 1.006 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.008689, allocations: 3.984 kB / 1.006 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.008696, allocations: 8 kB / 1.006 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.008744, allocations: 99.64 kB / 1.006 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008744, allocations: 0 / 1.006 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001544/0.008899, allocations: 23.94 kB / 1.006 GB, free: 6.77 MB / 0.9167 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.0003536/0.009252, allocations: 0.6202 MB / 1.006 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.009465, allocations: 157 kB / 1.007 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.009467, allocations: 4.125 kB / 1.007 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.009491, allocations: 16 kB / 1.007 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.009698, allocations: 17.86 kB / 1.007 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.01121, allocations: 1.635 MB / 1.008 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.438e-05/0.01127, allocations: 67.34 kB / 1.008 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.0113, allocations: 4 kB / 1.008 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.01134, allocations: 20.48 kB / 1.008 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of SimCode: time 9.22e-07/0.01135, allocations: 0 / 1.008 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08692/0.09827, allocations: 3.152 MB / 1.011 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.591, allocations: 1.891 kB / 1.011 GB, free: 1.062 MB / 0.9167 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: 12.275369891896844]