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.001798/0.001798, allocations: 109.4 kB / 16.45 MB, free: 6.453 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.002193/0.002193, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.7672 GB, free: 5.23 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.002157/0.002157, allocations: 71.88 kB / 1.112 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001961/1.094, allocations: 0.6558 MB / 1.279 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/1.095, allocations: 0.8199 MB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/1.095, allocations: 4 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/1.095, allocations: 3.938 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/1.095, allocations: 3.938 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/1.096, allocations: 7.984 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.941e-05/1.096, allocations: 23.98 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/1.096, allocations: 7.922 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/1.096, allocations: 15.94 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/1.096, allocations: 15.92 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/1.096, allocations: 4 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/1.096, allocations: 0 / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/1.096, allocations: 11.98 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/1.096, allocations: 11.94 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.062e-05/1.096, allocations: 23.89 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.096, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/1.096, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.096, allocations: 0 / 1.28 GB, free: 11.8 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.0005249/1.097, allocations: 349.6 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.097, allocations: 12.03 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/1.097, allocations: 34.75 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/1.097, allocations: 0.9375 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/1.097, allocations: 176.3 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/1.097, allocations: 4.312 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.097, allocations: 12.25 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/1.097, allocations: 58.23 kB / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.097, allocations: 7.938 kB / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/1.097, allocations: 0 / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.097, allocations: 0 / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/1.097, allocations: 35.95 kB / 1.28 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/1.098, allocations: 276.8 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/1.098, allocations: 42.55 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/1.098, allocations: 16.91 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/1.098, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/1.098, allocations: 30.56 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/1.098, allocations: 0 / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003521/1.098, allocations: 89.53 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.098, allocations: 51.41 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/1.099, allocations: 101.9 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/1.099, allocations: 25.7 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/1.099, allocations: 84.12 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/1.099, allocations: 3.953 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/1.099, allocations: 17.72 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.099, allocations: 318.9 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/1.099, allocations: 11.98 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/1.099, allocations: 23.97 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/1.099, allocations: 32.83 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.099, allocations: 0 / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001928/1.099, allocations: 65.91 kB / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.099, allocations: 4 kB / 1.282 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.099, allocations: 0 / 1.282 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.099, allocations: 7.984 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/1.099, allocations: 11.98 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.099, allocations: 0 / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/1.099, allocations: 8 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/1.099, allocations: 0 / 1.282 GB, free: 9.688 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 8.595e-05/1.1, allocations: 124 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/1.1, allocations: 0 / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/1.1, allocations: 7.062 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.1, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.1, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/1.1, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.1, allocations: 169.6 kB / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.1, allocations: 0 / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/1.1, allocations: 4 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.1, allocations: 4 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/1.1, allocations: 3.938 kB / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.1, allocations: 4 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.1, allocations: 0 / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/1.1, allocations: 163.3 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/1.1, allocations: 77.11 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/1.1, allocations: 8.016 kB / 1.282 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/1.1, allocations: 4 kB / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/1.1, allocations: 4 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/1.1, allocations: 0 / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.849e-05/1.1, allocations: 87.27 kB / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.1, allocations: 0 / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002106/1.101, allocations: 4 kB / 1.282 GB, free: 8.941 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.0005901/1.101, allocations: 0.6973 MB / 1.283 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002043/1.101, allocations: 27.97 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.101, allocations: 0 / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/1.101, allocations: 24.06 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/1.102, allocations: 2.812 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/1.103, allocations: 1.226 MB / 1.284 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/1.104, allocations: 0.6807 MB / 1.285 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.586e-05/1.104, allocations: 4.031 kB / 1.285 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/1.104, allocations: 19.42 kB / 1.285 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/1.104, allocations: 0 / 1.285 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/1.131, allocations: 1.305 MB / 1.286 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/9.116, allocations: 15.91 kB / 1.286 GB, free: 4.949 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.535779592115432]