Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0009023/0.0009023, 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.001043/0.001043, 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.977/0.977, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.853/1.853, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.RealVectorReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.566e-05, allocations: 5.656 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001401/0.001427, allocations: 0.6468 MB / 1.001 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.002274, allocations: 0.8159 MB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.002326, allocations: 7.938 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.927e-05/0.002425, allocations: 3.938 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.002528, allocations: 11.91 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.218e-05/0.00259, allocations: 15.94 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.002695, allocations: 51.84 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.002831, allocations: 15.97 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.002903, allocations: 35.92 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.002979, allocations: 27.95 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.002998, allocations: 4 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.003008, allocations: 4 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.003057, allocations: 27.91 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.003091, allocations: 15.94 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.003201, allocations: 71.81 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003205, allocations: 3.938 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.824e-06/0.003207, allocations: 4 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.003212, allocations: 4 kB / 1.002 GB, free: 11.76 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004991/0.003711, allocations: 306.1 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.00376, allocations: 13.34 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.003795, allocations: 34.75 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.003822, allocations: 8.891 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.003967, allocations: 129.6 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.003977, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.003987, allocations: 8.375 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.004227, allocations: 127.9 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004235, allocations: 192 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004245, allocations: 384 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.004253, allocations: 12.11 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.004457, allocations: 127.8 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.004897, allocations: 392 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.005035, allocations: 89.14 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.005137, allocations: 62.53 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.005146, allocations: 7.875 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.005168, allocations: 42.56 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.005169, allocations: 0 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000397/0.005566, allocations: 189.4 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.005602, allocations: 77.11 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.005678, allocations: 113.8 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.005692, allocations: 29.95 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.005739, allocations: 100.1 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.005756, allocations: 11.83 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.005786, allocations: 13.72 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.005875, allocations: 322.8 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.005977, allocations: 51.94 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.931e-05/0.006077, allocations: 61.64 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.00625, allocations: 113.6 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.006252, allocations: 0 / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.006462, allocations: 137.5 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.006479, allocations: 11.94 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.006486, allocations: 3.984 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.0065, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.006587, allocations: 15.98 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.006592, allocations: 0 / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.006644, allocations: 19.97 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.006652, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.39e-05/0.006726, allocations: 136.4 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.006749, allocations: 3.953 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.006771, allocations: 7.469 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.006774, allocations: 4 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.006778, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006782, allocations: 3.984 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.006941, allocations: 152.7 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006943, allocations: 4 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.006993, allocations: 15.97 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.006996, allocations: 4.375 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007002, allocations: 4 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007003, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007004, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.007322, allocations: 322.5 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.007333, allocations: 3.953 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.007344, allocations: 0 / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.007425, allocations: 28 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.007468, allocations: 0 / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007472, allocations: 7.984 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.007519, allocations: 91.27 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007519, allocations: 0 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001882/0.007707, allocations: 15.94 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004784/0.008186, allocations: 0.8404 MB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.008427, allocations: 111.8 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008429, allocations: 0 / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.008529, allocations: 68.08 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.008806, allocations: 12.06 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.01033, allocations: 1.585 MB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.0104, allocations: 79.33 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.01044, allocations: 15.98 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.01049, allocations: 20.48 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/0.01049, allocations: 0 / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08268/0.09317, allocations: 2.568 MB / 1.011 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.451, allocations: 8.047 kB / 1.011 GB, free: 2.785 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_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_RealVectorReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.197251821868122]