Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009008/0.0009008, 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.001548/0.001548, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9063/0.9063, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.682/1.682, 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.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.327e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001874/0.001897, allocations: 0.6468 MB / 0.9511 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.002896, allocations: 0.8198 MB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.002948, allocations: 0 / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.003047, allocations: 3.938 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.617e-05/0.003073, allocations: 3.984 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.003202, allocations: 8 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.003301, allocations: 27.86 kB / 0.952 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.003408, allocations: 7.984 kB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.003477, allocations: 15.94 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.003532, allocations: 11.98 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.003556, allocations: 0 / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.003562, allocations: 4 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.00362, allocations: 7.984 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.003654, allocations: 7.938 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.003755, allocations: 31.94 kB / 0.9521 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003757, allocations: 3.938 kB / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003759, allocations: 0 / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.003763, allocations: 0 / 0.9521 GB, free: 1.895 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004432/0.004207, allocations: 270.3 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.004259, allocations: 12.03 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.004298, allocations: 30.75 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.004325, allocations: 4.891 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.004481, allocations: 113.8 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.004495, allocations: 8.359 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004506, allocations: 384 / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.004707, allocations: 62.17 kB / 0.9525 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.004718, allocations: 192 / 0.9525 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.004728, allocations: 384 / 0.9525 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.004735, allocations: 12.06 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.004867, allocations: 35.95 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.005306, allocations: 244 kB / 0.9528 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.00541, allocations: 34.44 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.005476, allocations: 20.91 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.005491, allocations: 3.984 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.005521, allocations: 38.56 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.005522, allocations: 0 / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.000315/0.005837, allocations: 69.66 kB / 0.953 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.005883, allocations: 59.33 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.005961, allocations: 97.86 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005974, allocations: 29.7 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.006019, allocations: 88.09 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.006037, allocations: 8.047 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006071, allocations: 17.72 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.006169, allocations: 310.8 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.00623, allocations: 15.98 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.006279, allocations: 11.98 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.006388, allocations: 40.81 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00639, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001618/0.006552, allocations: 69.61 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.00657, allocations: 7.984 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006575, allocations: 0 / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.00659, allocations: 0 / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.006664, allocations: 8 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.006669, allocations: 0 / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.006703, allocations: 7.984 kB / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006709, allocations: 0 / 0.9537 GB, free: 0 / 0.9011 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 7.423e-05/0.006783, allocations: 117.9 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.006807, allocations: 11.83 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.006828, allocations: 7.141 kB / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006831, allocations: 0 / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.006836, allocations: 0 / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006838, allocations: 0 / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.006988, allocations: 132.7 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00699, allocations: 3.938 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.00703, allocations: 4 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.007032, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.007041, allocations: 11.98 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.007043, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007044, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.007227, allocations: 155.4 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007237, allocations: 8.234 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.007248, allocations: 0 / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.007312, allocations: 8 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.007359, allocations: 7.984 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.007362, allocations: 4.031 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.007413, allocations: 79.28 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007413, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002637/0.007677, allocations: 4 kB / 0.9542 GB, free: 15.38 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: 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.0005882/0.008265, allocations: 0.6968 MB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.008485, allocations: 43.92 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.008488, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.008552, allocations: 11.98 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.008943, allocations: 4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.01022, allocations: 1.229 MB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.283e-05/0.01029, allocations: 67.25 kB / 0.9562 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.01033, allocations: 3.984 kB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.01038, allocations: 12.5 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of SimCode: time 8.71e-07/0.01038, allocations: 0 / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02583, allocations: 1.965 MB / 0.9582 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.663, allocations: 0 / 0.9582 GB, free: 11.36 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaRep.u in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.u from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.867327569052577]