Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007813/0.0007813, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008061/0.0008061, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8751/0.8751, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.376e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001489/0.001513, allocations: 0.6663 MB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.002297, allocations: 0.8548 MB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.002343, allocations: 0 / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.883e-05/0.002432, allocations: 7.875 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.969e-05/0.002451, allocations: 0 / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.002619, allocations: 27.86 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.002694, allocations: 35.91 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.002788, allocations: 7.984 kB / 0.9521 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.002845, allocations: 19.92 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.002898, allocations: 11.98 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.00292, allocations: 4 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-06/0.002929, allocations: 4 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.002982, allocations: 11.98 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.003011, allocations: 11.92 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.329e-05/0.003104, allocations: 39.92 kB / 0.9522 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003106, allocations: 4 kB / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003107, allocations: 0 / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003111, allocations: 0 / 0.9522 GB, free: 1.797 MB / 0.9011 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.0006568/0.003768, allocations: 274.2 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.003808, allocations: 12.03 kB / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.003835, allocations: 34.69 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.003855, allocations: 0.9375 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.003972, allocations: 125.6 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.003991, allocations: 4.375 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.003999, allocations: 384 / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.004148, allocations: 70.22 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.004155, allocations: 192 / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004163, allocations: 384 / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.004169, allocations: 4.125 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.00427, allocations: 43.95 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.004556, allocations: 239.9 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.004648, allocations: 54.47 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.004698, allocations: 24.91 kB / 0.953 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.004711, allocations: 4 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.004731, allocations: 34.5 kB / 0.953 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004731, allocations: 0 / 0.953 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000228/0.004959, allocations: 93.58 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.004989, allocations: 55.41 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.005048, allocations: 102 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.005057, allocations: 25.7 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.005102, allocations: 88.12 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.005116, allocations: 7.953 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.005143, allocations: 13.72 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.005224, allocations: 314.8 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.005284, allocations: 20.02 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.005322, allocations: 20.19 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.005407, allocations: 48.81 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.005411, allocations: 7.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.005519, allocations: 73.59 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.00553, allocations: 4 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005535, allocations: 4 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.005545, allocations: 0 / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.005616, allocations: 12.02 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.005621, allocations: 0 / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.005648, allocations: 11.94 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.005653, allocations: 4 kB / 0.9539 GB, free: 15.8 MB / 0.9167 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.0001332/0.005786, allocations: 109.8 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.005804, allocations: 4 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.005824, allocations: 11.25 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.005827, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00583, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005833, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.005952, allocations: 144.7 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.005954, allocations: 4 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.00602, allocations: 11.92 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006023, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.006029, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006031, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006032, allocations: 4 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.006183, allocations: 164.1 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.00619, allocations: 11.98 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.006199, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.006241, allocations: 7.984 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.006282, allocations: 7.984 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.006287, allocations: 4 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.006315, allocations: 83.22 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.006316, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001496/0.006465, allocations: 8 kB / 0.9545 GB, free: 15.17 MB / 0.9167 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.0003118/0.006777, allocations: 0.7007 MB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.006901, allocations: 39.95 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.006902, allocations: 0 / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.006949, allocations: 23.92 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.007129, allocations: 4 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/0.008001, allocations: 1.269 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.008046, allocations: 63.34 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.008074, allocations: 32 / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.008115, allocations: 24.48 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of SimCode: time 4.6e-07/0.008116, allocations: 0 / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.02372, allocations: 2.206 MB / 0.9587 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.829, allocations: 6.344 kB / 0.9587 GB, free: 10.85 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaToInt.y in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[3] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[3] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.865194937214255]