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.00119/0.00119, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.0009039/0.0009039, allocations: 177.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.9159/0.9159, 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.882/1.882, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.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 2.264e-06/2.264e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.67e-05, allocations: 5.234 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001412/0.001429, allocations: 0.6584 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.002234, allocations: 0.847 MB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.002282, allocations: 0 / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.172e-05/0.002374, allocations: 7.922 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.225e-05/0.002396, allocations: 3.938 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.002555, allocations: 19.92 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.002627, allocations: 43.78 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.002719, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.839e-05/0.002777, allocations: 15.98 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.002834, allocations: 15.98 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.002852, allocations: 4 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.002861, allocations: 4 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.002914, allocations: 20.73 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.00294, allocations: 8 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.00303, allocations: 43.8 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003032, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.103e-06/0.003033, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003036, allocations: 0 / 1.002 GB, free: 11.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003523/0.003389, allocations: 278.3 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.003429, allocations: 13.34 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.003464, allocations: 30.75 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.003489, allocations: 8.891 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.00361, allocations: 117.7 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.003626, allocations: 384 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.003635, allocations: 4.375 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.003771, allocations: 62.22 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.003779, allocations: 192 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.003788, allocations: 4.375 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003793, allocations: 4.125 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.003897, allocations: 55.89 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.004181, allocations: 236 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.004268, allocations: 42.44 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.004326, allocations: 32.89 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.004338, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.004355, allocations: 30.56 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.004357, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.004588, allocations: 89.62 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.004617, allocations: 55.41 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.004681, allocations: 105.8 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.004692, allocations: 25.7 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.00473, allocations: 88.03 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.004743, allocations: 11.89 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.004772, allocations: 21.7 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.004853, allocations: 315 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.004898, allocations: 15.98 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.004939, allocations: 23.97 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.005023, allocations: 36.83 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005026, allocations: 7.875 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.005138, allocations: 77.7 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005151, allocations: 4 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005156, allocations: 0 / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.005169, allocations: 0 / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.005242, allocations: 15.92 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.005248, allocations: 0 / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.005278, allocations: 8 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.005282, allocations: 0 / 1.004 GB, free: 9.852 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: 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 9.368e-05/0.005376, allocations: 121.8 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.005389, allocations: 0 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.00541, allocations: 7.312 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.005414, allocations: 4 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.005419, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005422, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.005537, allocations: 136.8 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005538, allocations: 0 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.005567, allocations: 7.984 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005568, allocations: 4 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.005574, allocations: 0 / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005575, allocations: 4 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005577, allocations: 4.234 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.005866, allocations: 183.3 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.005871, allocations: 0 / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.005882, allocations: 4 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.005921, allocations: 7.984 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.005967, allocations: 8 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.00597, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.005998, allocations: 87.3 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005998, allocations: 0 / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001525/0.006151, allocations: 11.94 kB / 1.005 GB, free: 9.199 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: 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.0003194/0.00647, allocations: 0.7007 MB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.006604, allocations: 43.92 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006605, allocations: 0 / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.006656, allocations: 27.97 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.006841, allocations: 0 / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.00793, allocations: 1.257 MB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.007986, allocations: 67.33 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.008016, allocations: 4 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.008056, allocations: 12.5 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.008056, allocations: 3.938 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09067/0.09873, allocations: 2.201 MB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.286, allocations: 5.562 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB " [Timeout remaining time 293] (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.030615048483014]