Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005425/0.005425, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 192.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.832/2.832, allocations: 469.4 MB / 0.7422 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.12 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8738, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001838/0.8757, allocations: 0.6407 MB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.8766, allocations: 0.7962 MB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.8767, allocations: 0 / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.8768, allocations: 3.938 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.8769, allocations: 7.984 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.986e-05/0.877, allocations: 4 kB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.8771, allocations: 71.75 kB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.8772, allocations: 12 kB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.8773, allocations: 23.92 kB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.8774, allocations: 39.83 kB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.8774, allocations: 4 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.8774, allocations: 8 kB / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.8775, allocations: 15.98 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.8775, allocations: 27.8 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.8776, allocations: 75.38 kB / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8777, allocations: 0 / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8777, allocations: 0 / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.8777, allocations: 0 / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005639/0.8782, allocations: 391.2 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8783, allocations: 16.62 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.8783, allocations: 34.75 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.8784, allocations: 8.891 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.8786, allocations: 192.3 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.8786, allocations: 384 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.8786, allocations: 4.375 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.8789, allocations: 135.8 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8789, allocations: 7.938 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.879, allocations: 0 / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.879, allocations: 4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.8793, allocations: 119.8 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.88, allocations: 436.9 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.8802, allocations: 93.08 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.8804, allocations: 61.72 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.8804, allocations: 7.922 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8804, allocations: 38.56 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8804, allocations: 0 / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0006463/0.8811, allocations: 189.6 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.8811, allocations: 77.11 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.8812, allocations: 133.6 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.8813, allocations: 25.7 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.8813, allocations: 100 kB / 1.223 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.8813, allocations: 3.953 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.8814, allocations: 13.72 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.8815, allocations: 318.9 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.8817, allocations: 51.92 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.8819, allocations: 69.64 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.8822, allocations: 105.7 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8822, allocations: 4 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003989/0.8826, allocations: 137.5 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8826, allocations: 9.719 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8826, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8827, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.8828, allocations: 23.97 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.8828, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.8829, allocations: 23.91 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.8829, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 8.69e-05/0.883, allocations: 126.4 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.8831, allocations: 7.938 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.8831, allocations: 3.531 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8831, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8831, allocations: 4 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8831, allocations: 3.938 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.8833, allocations: 181.6 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8833, allocations: 0 / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.8835, allocations: 19.97 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8835, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.8835, allocations: 4 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8835, allocations: 3.938 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8835, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.8839, allocations: 310.6 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.884, allocations: 85.09 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.884, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.8842, allocations: 16.3 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.8842, allocations: 19.91 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.8842, allocations: 4 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.8843, allocations: 95.2 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.8843, allocations: 0 / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002663/0.8846, allocations: 15.89 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0007118/0.8853, allocations: 0.8407 MB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.8857, allocations: 107.8 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8857, allocations: 0 / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.8859, allocations: 67.91 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.8863, allocations: 16.19 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.8882, allocations: 1.587 MB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.8885, allocations: 0.704 MB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.045e-05/0.8886, allocations: 11.98 kB / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.8886, allocations: 19.47 kB / 1.228 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.8886, allocations: 4 kB / 1.228 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.9057, allocations: 1.882 MB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.62, allocations: 8.5 kB / 1.23 GB, free: 7.238 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches