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.001899/0.001899, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001496/0.001496, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 66.95 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002904/0.3587, allocations: 0.652 MB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3605, allocations: 0.8238 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.3606, allocations: 0 / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3607, allocations: 3.984 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.3607, allocations: 3.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.3609, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.361, allocations: 31.86 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3612, allocations: 3.984 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.3612, allocations: 11.98 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.3613, allocations: 15.92 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3614, allocations: 8 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.3614, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.3614, allocations: 8 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.3615, allocations: 15.92 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3616, allocations: 19.91 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3616, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3616, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3616, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 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.0006895/0.3623, allocations: 282.4 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.3624, allocations: 16.03 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.3624, allocations: 30.75 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.3625, allocations: 4.938 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3627, allocations: 110.4 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3627, allocations: 8.375 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3627, allocations: 384 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.363, allocations: 54.23 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3631, allocations: 3.938 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3631, allocations: 7.984 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3631, allocations: 4 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.3634, allocations: 31.97 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3641, allocations: 251.9 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3643, allocations: 30.55 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3644, allocations: 24.91 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3644, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.3645, allocations: 34.55 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.3645, allocations: 4 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0005964/0.3651, allocations: 77.53 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3652, allocations: 59.53 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3653, allocations: 97.86 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3653, allocations: 25.7 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.3654, allocations: 92.12 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3654, allocations: 3.953 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.3655, allocations: 9.719 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3657, allocations: 318.8 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3658, allocations: 19.98 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.366, allocations: 16.22 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.3662, allocations: 32.83 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3662, allocations: 7.938 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003568/0.3666, allocations: 65.72 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3666, allocations: 8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3666, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3666, allocations: 3.938 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3668, allocations: 7.984 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3668, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.3669, allocations: 4 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3669, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 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 0.0001468/0.367, allocations: 121.7 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.3671, allocations: 8.031 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.3671, allocations: 3.156 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3671, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3671, allocations: 3.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3671, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.3674, allocations: 128.7 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3674, allocations: 7.984 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.3675, allocations: 4 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3675, allocations: 0 / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3675, allocations: 0 / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3675, allocations: 7.938 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3675, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.368, allocations: 163.4 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.368, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.368, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3681, allocations: 12.02 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3682, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3682, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.3683, allocations: 83.27 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3683, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004238/0.3687, allocations: 8 kB / 1.287 GB, free: 7.543 MB / 0.9825 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.0009093/0.3696, allocations: 0.6928 MB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.37, allocations: 27.97 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.37, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3701, allocations: 23.97 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.3706, allocations: 4.156 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3727, allocations: 1.23 MB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3731, allocations: 0.6806 MB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.3732, allocations: 7.938 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.3732, allocations: 15.45 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3732, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.4084, allocations: 1.403 MB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.29, allocations: 15.45 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.104502767999293]