Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007755/0.0007755, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008341/0.0008341, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9025/0.9025, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.31e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001882/0.001906, allocations: 0.6429 MB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.002686, allocations: 0.8198 MB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.002735, allocations: 0 / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.002837, allocations: 0 / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.1e-05/0.002858, allocations: 7.938 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.002978, allocations: 11.97 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.791e-05/0.003056, allocations: 27.92 kB / 0.9824 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.003147, allocations: 0 / 0.9824 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.003205, allocations: 15.92 kB / 0.9824 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.003253, allocations: 15.98 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.003274, allocations: 4 kB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.00328, allocations: 0 / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.003327, allocations: 4 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.003354, allocations: 11.94 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.267e-05/0.003437, allocations: 27.94 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.003439, allocations: 0 / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003441, allocations: 0 / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003445, allocations: 4 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 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.0003421/0.003787, allocations: 270.2 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.003826, allocations: 16.03 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.003857, allocations: 34.75 kB / 0.9828 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.835e-05/0.003876, allocations: 4.938 kB / 0.9828 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.003985, allocations: 113.7 kB / 0.9829 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.003993, allocations: 384 / 0.9829 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.004, allocations: 384 / 0.9829 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.004137, allocations: 62.23 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004144, allocations: 192 / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.004154, allocations: 4.359 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004161, allocations: 8.062 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.004237, allocations: 35.97 kB / 0.983 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.004563, allocations: 247.9 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.004636, allocations: 34.48 kB / 0.9833 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.004684, allocations: 20.91 kB / 0.9833 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.004696, allocations: 4 kB / 0.9833 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.004726, allocations: 30.56 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.004727, allocations: 4 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002028/0.00493, allocations: 77.58 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.004961, allocations: 51.41 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.005023, allocations: 105.8 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.005032, allocations: 25.7 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.005068, allocations: 88.09 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.005083, allocations: 3.938 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.005107, allocations: 17.84 kB / 0.9837 GB, free: 15.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.00519, allocations: 314.8 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.00523, allocations: 15.97 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.005264, allocations: 15.98 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.005334, allocations: 32.83 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005336, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001015/0.005437, allocations: 77.55 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005451, allocations: 4 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.005457, allocations: 4 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.005473, allocations: 0 / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.005537, allocations: 7.984 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.005542, allocations: 0 / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.005563, allocations: 4 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.005572, allocations: 0 / 0.9842 GB, free: 15.07 MB / 0.948 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 6.232e-05/0.005635, allocations: 125.8 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.005647, allocations: 3.938 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.005663, allocations: 3.156 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005665, allocations: 0 / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.00567, allocations: 4 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005673, allocations: 0 / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.005777, allocations: 128.7 kB / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.005778, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.005807, allocations: 11.98 kB / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.005809, allocations: 256 / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.005816, allocations: 4 kB / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005818, allocations: 4 kB / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00582, allocations: 0 / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.005963, allocations: 163.4 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/0.00597, allocations: 3.938 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.005979, allocations: 0 / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.006017, allocations: 11.98 kB / 0.9846 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.006051, allocations: 0 / 0.9846 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.006054, allocations: 4.031 kB / 0.9846 GB, free: 14.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.006083, allocations: 79.28 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006083, allocations: 4 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001472/0.006231, allocations: 3.953 kB / 0.9847 GB, free: 14.46 MB / 0.948 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.0003767/0.006607, allocations: 0.7035 MB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.006742, allocations: 36 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006744, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.006783, allocations: 11.98 kB / 0.9854 GB, free: 13.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.007038, allocations: 11.92 kB / 0.9854 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.008, allocations: 1.226 MB / 0.9866 GB, free: 12.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.008056, allocations: 71.28 kB / 0.9867 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.00809, allocations: 0 / 0.9867 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.008128, allocations: 12.5 kB / 0.9867 GB, free: 12.27 MB / 0.948 GB Notification: Performance of SimCode: time 5.82e-07/0.008129, allocations: 0 / 0.9867 GB, free: 12.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.02499, allocations: 1.963 MB / 0.9886 GB, free: 10.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.631, allocations: 10.67 kB / 0.9887 GB, free: 10.43 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.u from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.879105696454644]