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.0008718/0.0008718, 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.001077/0.001077, allocations: 214.8 kB / 23.03 MB, free: 2.953 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.01/1.01, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.5046 GB / 0.8104 GB, free: 2.75 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.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 0.0008845/0.0008845, allocations: 71.89 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7476, allocations: 180 MB / 1.352 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001436/0.749, allocations: 0.6431 MB / 1.353 GB, free: 0.9805 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.7496, allocations: 0.8198 MB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.7497, allocations: 0 / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.7498, allocations: 0 / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 1.899e-05/0.7498, allocations: 3.938 kB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.7499, allocations: 11.98 kB / 1.354 GB, free: 136 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.75, allocations: 27.86 kB / 1.354 GB, free: 108 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.7501, allocations: 4 kB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.7501, allocations: 19.92 kB / 1.354 GB, free: 84 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.7501, allocations: 7.984 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.7502, allocations: 0 / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.7502, allocations: 4 kB / 1.354 GB, free: 72 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.7502, allocations: 15.92 kB / 1.354 GB, free: 56 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.7502, allocations: 7.938 kB / 1.354 GB, free: 48 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 7.788e-05/0.7503, allocations: 27.89 kB / 1.354 GB, free: 20 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7503, allocations: 0 / 1.354 GB, free: 20 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7503, allocations: 0 / 1.354 GB, free: 20 kB / 1.026 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7503, allocations: 0 / 1.354 GB, free: 20 kB / 1.026 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.0003415/0.7507, allocations: 272.9 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7507, allocations: 12.92 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.7507, allocations: 34.69 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.7508, allocations: 0.9375 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.7509, allocations: 118.5 kB / 1.354 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.7509, allocations: 4.375 kB / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.7509, allocations: 384 / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.751, allocations: 54.23 kB / 1.354 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.751, allocations: 3.938 kB / 1.354 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.751, allocations: 4 kB / 1.354 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.751, allocations: 4 kB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.7511, allocations: 35.95 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.7514, allocations: 243.9 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.7514, allocations: 34.56 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.7515, allocations: 16.91 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.7515, allocations: 0 / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.7515, allocations: 42.56 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.7515, allocations: 3.938 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.7517, allocations: 73.64 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.7517, allocations: 51.41 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.7518, allocations: 101.8 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.7518, allocations: 29.64 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.7518, allocations: 88.09 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.7518, allocations: 4.125 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.7518, allocations: 17.72 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.7519, allocations: 318.8 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.679e-05/0.752, allocations: 16.23 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.752, allocations: 11.98 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.7521, allocations: 48.75 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7521, allocations: 3.938 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.752e-05/0.7521, allocations: 65.69 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7522, allocations: 6.5 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7522, allocations: 0 / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7522, allocations: 0 / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.7522, allocations: 11.98 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7522, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.7523, allocations: 7.984 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.7523, allocations: 0 / 1.356 GB, free: 14.12 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 (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.208e-05/0.7523, allocations: 114.3 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-06/0.7523, allocations: 4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.7523, allocations: 7.156 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7523, allocations: 0 / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7523, allocations: 0 / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7523, allocations: 3.984 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.542e-05/0.7524, allocations: 132.7 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.7524, allocations: 0 / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.7525, allocations: 7.938 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7525, allocations: 3.984 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.7525, allocations: 4 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.7525, allocations: 4 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7525, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.7526, allocations: 155.5 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-06/0.7526, allocations: 7.953 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.7526, allocations: 3.984 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/0.7526, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.7527, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.7527, allocations: 4.031 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.7527, allocations: 87.2 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7527, allocations: 0 / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000137/0.7528, allocations: 4 kB / 1.356 GB, free: 13.52 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 (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.0002915/0.7531, allocations: 0.6928 MB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.7532, allocations: 43.98 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7532, allocations: 0 / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.7533, allocations: 11.98 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.7535, allocations: 4.188 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.7544, allocations: 1.233 MB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.7544, allocations: 63.34 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.7545, allocations: 3.906 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.7545, allocations: 19.42 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of SimCode: time 5.91e-07/0.7545, allocations: 0 / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.8275, allocations: 1.813 MB / 1.36 GB, free: 9.637 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/7.715, allocations: 9.344 kB / 1.36 GB, free: 9.633 MB / 1.042 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.5629548644647]