Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008789/0.0008789, 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.001077/0.001077, allocations: 207.8 kB / 23.02 MB, free: 2.961 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.9741/0.9741, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.994/1.994, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 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.Constant,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 67.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8155, allocations: 180 MB / 1.352 GB, free: 1.566 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001442/0.8169, allocations: 0.5361 MB / 1.353 GB, free: 1.027 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 4.245e-05/0.817, allocations: 7.938 kB / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.817, allocations: 0 / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.817, allocations: 0 / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 2.606e-05/0.817, allocations: 0 / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 3.132e-05/0.8171, allocations: 0 / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.8171, allocations: 11.98 kB / 1.353 GB, free: 1.008 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.8172, allocations: 1.938 kB / 1.353 GB, free: 1.008 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.8172, allocations: 0 / 1.353 GB, free: 1.008 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.8172, allocations: 3.938 kB / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.8172, allocations: 4 kB / 1.353 GB, free: 1 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.8172, allocations: 0 / 1.353 GB, free: 1 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.8173, allocations: 0 / 1.353 GB, free: 1 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.8173, allocations: 0 / 1.353 GB, free: 1 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 6.41e-05/0.8173, allocations: 7.984 kB / 1.353 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8173, allocations: 3.938 kB / 1.353 GB, free: 0.9883 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8173, allocations: 0 / 1.353 GB, free: 0.9883 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8174, allocations: 4 kB / 1.353 GB, free: 0.9844 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002509/0.8176, allocations: 234.5 kB / 1.353 GB, free: 0.7266 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.8177, allocations: 12.92 kB / 1.353 GB, free: 0.7148 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.8177, allocations: 34.69 kB / 1.353 GB, free: 0.6719 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.8177, allocations: 0.9375 kB / 1.353 GB, free: 0.6719 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.829e-05/0.8178, allocations: 118.5 kB / 1.353 GB, free: 0.5312 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.8178, allocations: 4.375 kB / 1.353 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.8178, allocations: 384 / 1.353 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/0.8179, allocations: 26.27 kB / 1.353 GB, free: 0.4961 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8179, allocations: 3.938 kB / 1.353 GB, free: 0.4922 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.8179, allocations: 4 kB / 1.353 GB, free: 500 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8179, allocations: 4 kB / 1.353 GB, free: 496 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.8179, allocations: 0 / 1.353 GB, free: 496 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.8182, allocations: 361.5 kB / 1.354 GB, free: 92 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.8183, allocations: 169.1 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.8183, allocations: 84.17 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.8183, allocations: 75.28 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.8184, allocations: 109.8 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/0.8184, allocations: 0 / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 6.301e-05/0.8185, allocations: 33.64 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.8185, allocations: 130.7 kB / 1.354 GB, free: 15.46 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.8186, allocations: 97.84 kB / 1.354 GB, free: 15.35 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.8186, allocations: 25.7 kB / 1.354 GB, free: 15.32 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.8186, allocations: 80.14 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.8186, allocations: 0 / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.8186, allocations: 9.719 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.8187, allocations: 318.8 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.8187, allocations: 0 / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-06/0.8187, allocations: 0 / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.8188, allocations: 75.28 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.8188, allocations: 79.34 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.354e-05/0.8188, allocations: 41.67 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.8189, allocations: 79.28 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.8189, allocations: 79.27 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-05/0.8189, allocations: 154.6 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.12e-05/0.819, allocations: 79.22 kB / 1.355 GB, free: 14.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-05/0.819, allocations: 154.6 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.819, allocations: 83.22 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.8191, allocations: 75.28 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.55e-05/0.8192, allocations: 260.9 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.8192, allocations: 124.8 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.8192, allocations: 107.9 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003334/0.8196, allocations: 180.3 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-05/0.8196, allocations: 184.2 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-05/0.8197, allocations: 176.3 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.8198, allocations: 380.2 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.8199, allocations: 105 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.8199, allocations: 101 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.407e-05/0.8199, allocations: 184.2 kB / 1.357 GB, free: 12.13 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.82, allocations: 188.2 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.032e-05/0.82, allocations: 180.2 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-05/0.82, allocations: 188.2 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.8201, allocations: 312.1 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.8202, allocations: 109 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.8202, allocations: 180.2 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.8203, allocations: 105 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.8203, allocations: 184.3 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.8204, allocations: 108.9 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.8204, allocations: 79.28 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8204, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001566/0.8206, allocations: 0 / 1.359 GB, free: 10.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003422/0.8209, allocations: 0.8088 MB / 1.36 GB, free: 9.609 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 4.474e-05/0.8209, allocations: 3.938 kB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8209, allocations: 0 / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.8209, allocations: 0 / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.8212, allocations: 459.7 kB / 1.36 GB, free: 9.152 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.8221, allocations: 1.528 MB / 1.362 GB, free: 7.547 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.8221, allocations: 55.36 kB / 1.362 GB, free: 7.473 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.496e-06/0.8221, allocations: 0 / 1.362 GB, free: 7.473 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.8222, allocations: 11.53 kB / 1.362 GB, free: 7.461 MB / 1.042 GB Notification: Performance of SimCode: time 7.51e-07/0.8222, allocations: 0 / 1.362 GB, free: 7.461 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08263/0.9048, allocations: 1.411 MB / 1.363 GB, free: 6.188 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.944, allocations: 6.125 kB / 1.363 GB, free: 6.184 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Integers_Sources_Validation_Constant.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.935683125630021]