Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001015/0.001015, allocations: 80.55 kB / 19.96 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.001248/0.001248, allocations: 173.2 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.9476/0.9476, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.869/1.869, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.599e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001391/0.001417, allocations: 0.6468 MB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.002293, allocations: 0.8159 MB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.002348, allocations: 3.938 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.00245, allocations: 3.938 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.565e-05/0.002475, allocations: 7.938 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.002604, allocations: 7.984 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.002684, allocations: 31.92 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.002783, allocations: 0 / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.002845, allocations: 11.98 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.002899, allocations: 11.94 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.002917, allocations: 7.984 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.002924, allocations: 0 / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.002985, allocations: 11.98 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.003011, allocations: 4 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.003096, allocations: 31.83 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003098, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.283e-06/0.0031, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.003105, allocations: 8 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003418/0.003447, allocations: 262.3 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.003488, allocations: 17.33 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.003522, allocations: 34.75 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.003545, allocations: 4.938 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.003661, allocations: 109.8 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.003671, allocations: 4.375 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.003677, allocations: 384 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.003807, allocations: 54.23 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003814, allocations: 4.188 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.003822, allocations: 384 / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.003827, allocations: 4.125 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.003907, allocations: 43.89 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.004188, allocations: 232.1 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.004262, allocations: 38.48 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.004307, allocations: 24.84 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.004315, allocations: 4 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.004334, allocations: 34.56 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.004335, allocations: 0 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002017/0.004537, allocations: 81.59 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.004563, allocations: 51.41 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.004622, allocations: 105.8 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.00463, allocations: 25.83 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.004665, allocations: 96.05 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.004679, allocations: 3.953 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.004703, allocations: 13.72 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.004778, allocations: 318.8 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.004818, allocations: 15.92 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.004854, allocations: 23.97 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.004925, allocations: 32.89 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004927, allocations: 0 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.353e-05/0.00502, allocations: 65.59 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005032, allocations: 4 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005037, allocations: 4 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.005047, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.005107, allocations: 7.984 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.005112, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.005135, allocations: 12.03 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005139, allocations: 0 / 1.004 GB, free: 10.04 MB / 0.9636 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 (1): * Single equations (assignments): 1 * 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 5.251e-05/0.005192, allocations: 117.8 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.005204, allocations: 3.938 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.005219, allocations: 3.156 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005221, allocations: 0 / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.005226, allocations: 4 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.005229, allocations: 0 / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.005325, allocations: 128.7 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005327, allocations: 0 / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.005353, allocations: 15.98 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005355, allocations: 0 / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005361, allocations: 3.984 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005362, allocations: 0 / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005362, allocations: 0 / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.005486, allocations: 168.2 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.005492, allocations: 0 / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-06/0.005501, allocations: 0 / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.005535, allocations: 12.27 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.005567, allocations: 3.938 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.005571, allocations: 7.938 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.005597, allocations: 83.28 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005597, allocations: 4 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001348/0.005732, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 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 (1): * Single equations (assignments): 1 * 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.0003116/0.006043, allocations: 0.6929 MB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.006157, allocations: 36 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006158, allocations: 0 / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.006194, allocations: 15.92 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.006421, allocations: 8 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.007381, allocations: 1.241 MB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.007427, allocations: 63.34 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.007454, allocations: 0 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.007489, allocations: 16.5 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.007489, allocations: 0 / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/0.1028, allocations: 1.955 MB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.752, allocations: 14.03 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_Routing_Validation_RealScalarReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.451866198331118]