Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0008595/0.0008595, allocations: 100.3 kB / 19.72 MB, free: 428 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.0009179/0.0009179, allocations: 216.7 kB / 23.03 MB, free: 2.965 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.9306/0.9306, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.933/1.933, allocations: 0.5045 GB / 0.8104 GB, free: 2.613 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.IntegerScalarReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008986/0.0008986, allocations: 63.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7329, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001667/0.7346, allocations: 0.6586 MB / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.7354, allocations: 0.8549 MB / 1.354 GB, free: 140 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.7355, allocations: 4 kB / 1.354 GB, free: 136 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.7356, allocations: 3.984 kB / 1.354 GB, free: 132 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 2.398e-05/0.7356, allocations: 3.938 kB / 1.354 GB, free: 128 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.7358, allocations: 15.92 kB / 1.354 GB, free: 112 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.7359, allocations: 35.91 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.736, allocations: 4 kB / 1.354 GB, free: 72 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.736, allocations: 19.92 kB / 1.354 GB, free: 52 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.7361, allocations: 15.92 kB / 1.354 GB, free: 36 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.7361, allocations: 8 kB / 1.354 GB, free: 28 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.7361, allocations: 0 / 1.354 GB, free: 28 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.7362, allocations: 19.91 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.7362, allocations: 11.98 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.7363, allocations: 31.84 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7363, allocations: 0 / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7363, allocations: 0 / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7363, allocations: 0 / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004255/0.7368, allocations: 276.9 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7368, allocations: 8.922 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.7369, allocations: 34.75 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.7369, allocations: 4.938 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.7371, allocations: 122.4 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.7371, allocations: 4.312 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7371, allocations: 4.375 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.7373, allocations: 74.19 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.7373, allocations: 11.86 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7373, allocations: 0 / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7373, allocations: 0 / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7374, allocations: 47.95 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.7378, allocations: 243.9 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.7382, allocations: 38.56 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.7382, allocations: 28.83 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.7383, allocations: 0 / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7383, allocations: 38.56 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.7383, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002716/0.7386, allocations: 93.53 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.7386, allocations: 51.41 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.7387, allocations: 105.8 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.7387, allocations: 25.7 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.7387, allocations: 92.08 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.7387, allocations: 4 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.7388, allocations: 13.72 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.7388, allocations: 318.9 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.7389, allocations: 23.97 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.7389, allocations: 15.98 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.7391, allocations: 40.81 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7391, allocations: 4 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001383/0.7392, allocations: 81.61 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7392, allocations: 4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.7392, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7392, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.7393, allocations: 11.98 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.7393, allocations: 0 / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.7393, allocations: 4 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.7393, allocations: 3.984 kB / 1.356 GB, free: 13.98 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: 1 (intRep.y[3]) * 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 0.0001142/0.7395, allocations: 114.3 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.7395, allocations: 4.031 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.7395, allocations: 11.31 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7395, allocations: 3.938 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7395, allocations: 0 / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7395, allocations: 0 / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.7396, allocations: 136.6 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7396, allocations: 3.984 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.7397, allocations: 8 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7397, allocations: 0 / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.7397, allocations: 3.984 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7397, allocations: 7.938 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7397, allocations: 3.938 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.7399, allocations: 167.5 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.7399, allocations: 8.203 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.7399, allocations: 0 / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.7399, allocations: 11.98 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.74, allocations: 4 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.74, allocations: 3.984 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.74, allocations: 87.31 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.74, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002225/0.7402, allocations: 8 kB / 1.356 GB, free: 13.34 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: 1 (intRep.y[3]) * 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.0003946/0.7406, allocations: 0.7006 MB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.7408, allocations: 39.97 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7408, allocations: 4.094 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.7409, allocations: 19.97 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.7411, allocations: 10.06 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.7422, allocations: 1.257 MB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.7422, allocations: 67.28 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.7423, allocations: 4 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.7423, allocations: 15.44 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of SimCode: time 4.91e-07/0.7423, allocations: 0 / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08485/0.8272, allocations: 2.072 MB / 1.36 GB, free: 9.156 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.792, allocations: 13.88 kB / 1.361 GB, free: 9.148 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.502492094412446]