Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.000896/0.000896, 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.00115/0.00115, allocations: 208.7 kB / 23.02 MB, free: 2.973 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.037/1.037, allocations: 230.6 MB / 256.8 MB, free: 9.559 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.932/1.932, allocations: 0.5045 GB / 0.8104 GB, free: 2.727 MB / 0.6511 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.Constant,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009872/0.0009872, allocations: 67.89 kB / 1.177 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.7359, allocations: 180 MB / 1.352 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001632/0.7376, allocations: 0.5802 MB / 1.353 GB, free: 1.016 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 4.111e-05/0.7376, allocations: 7.938 kB / 1.353 GB, free: 1.008 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.7376, allocations: 0 / 1.353 GB, free: 1.008 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.7377, allocations: 3.984 kB / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.7377, allocations: 0 / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 3.304e-05/0.7377, allocations: 3.938 kB / 1.353 GB, free: 1 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.7378, allocations: 4 kB / 1.353 GB, free: 0.9961 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.7378, allocations: 5.938 kB / 1.353 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.7378, allocations: 0 / 1.353 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.7379, allocations: 0 / 1.353 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.7379, allocations: 0 / 1.353 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 4.648e-06/0.7379, allocations: 0 / 1.353 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.7379, allocations: 8 kB / 1.353 GB, free: 0.9844 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.7379, allocations: 0 / 1.353 GB, free: 0.9844 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 6.476e-05/0.738, allocations: 7.922 kB / 1.353 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.738, allocations: 3.938 kB / 1.353 GB, free: 0.9727 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.404e-06/0.738, allocations: 0 / 1.353 GB, free: 0.9727 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.738, allocations: 0 / 1.353 GB, free: 0.9727 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.0002338/0.7382, allocations: 242.4 kB / 1.353 GB, free: 0.707 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7383, allocations: 12.92 kB / 1.353 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.7383, allocations: 30.75 kB / 1.353 GB, free: 0.6562 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.718e-05/0.7383, allocations: 0.9375 kB / 1.353 GB, free: 0.6562 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.609e-05/0.7384, allocations: 102.5 kB / 1.353 GB, free: 0.5312 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.7384, allocations: 4.375 kB / 1.353 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.7384, allocations: 4.375 kB / 1.353 GB, free: 0.5234 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.7385, allocations: 30.25 kB / 1.353 GB, free: 500 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7385, allocations: 3.938 kB / 1.354 GB, free: 496 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.7385, allocations: 0 / 1.354 GB, free: 496 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7385, allocations: 0 / 1.354 GB, free: 496 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.7385, allocations: 7.938 kB / 1.354 GB, free: 488 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.7388, allocations: 353.7 kB / 1.354 GB, free: 92 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 8.639e-05/0.7389, allocations: 173.1 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.7389, allocations: 84.12 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.7389, allocations: 83.28 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.739, allocations: 109.8 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.739, allocations: 0 / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 5.421e-05/0.739, allocations: 25.7 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.7391, allocations: 130.7 kB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.7391, allocations: 93.86 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.7391, allocations: 25.7 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/0.7391, allocations: 84.14 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.7392, allocations: 0 / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.7392, allocations: 13.83 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.7392, allocations: 314.8 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.7392, allocations: 0 / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.7392, allocations: 4 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.7393, allocations: 79.22 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.7393, allocations: 83.16 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.381e-05/0.7393, allocations: 37.67 kB / 1.355 GB, free: 14.69 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.7393, allocations: 79.28 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.7394, allocations: 75.28 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.54e-05/0.7394, allocations: 162.5 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.611e-05/0.7394, allocations: 75.28 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/0.7395, allocations: 158.5 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.7395, allocations: 79.22 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.7395, allocations: 79.28 kB / 1.356 GB, free: 13.99 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 7.679e-05/0.7396, allocations: 260.9 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.7396, allocations: 120.9 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.7397, allocations: 111.9 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/0.7397, allocations: 176.3 kB / 1.356 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-05/0.7397, allocations: 184.2 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/0.7398, allocations: 176.3 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.7399, allocations: 384.2 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/0.74, allocations: 105 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.74, allocations: 104.9 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-05/0.74, allocations: 180.3 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.7401, allocations: 180.3 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.891e-05/0.7401, allocations: 184.2 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.141e-05/0.7401, allocations: 184.3 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.482e-05/0.7402, allocations: 304.1 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.7403, allocations: 105 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.7403, allocations: 188.2 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.7404, allocations: 105 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.7404, allocations: 180.2 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.7404, allocations: 113 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.7404, allocations: 75.28 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.7404, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001538/0.7406, 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.0003391/0.7409, allocations: 0.8111 MB / 1.36 GB, free: 9.609 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 4.361e-05/0.741, allocations: 4 kB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.741, allocations: 0 / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.741, allocations: 4 kB / 1.36 GB, free: 9.602 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.7416, allocations: 463.7 kB / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.7424, allocations: 1.532 MB / 1.362 GB, free: 7.535 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.7424, allocations: 59.28 kB / 1.362 GB, free: 7.457 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.436e-06/0.7425, allocations: 4 kB / 1.362 GB, free: 7.453 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.7425, allocations: 7.438 kB / 1.362 GB, free: 7.449 MB / 1.042 GB Notification: Performance of SimCode: time 7.91e-07/0.7425, allocations: 0 / 1.362 GB, free: 7.449 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/0.8202, allocations: 1.404 MB / 1.363 GB, free: 6.18 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.726, allocations: 6.672 kB / 1.363 GB, free: 6.176 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Constant.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.556629854254425]