Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_10_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.007379/0.007379, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001493/0.001494, allocations: 192.2 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.594/2.594, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.537/4.537, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4197, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002059/0.4218, allocations: 0.6442 MB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.423, allocations: 0.8005 MB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.4231, allocations: 8 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.4232, allocations: 3.938 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.4234, allocations: 11.91 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.816e-05/0.4234, allocations: 8 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.4236, allocations: 55.84 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.4238, allocations: 23.97 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.4239, allocations: 31.86 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.424, allocations: 27.84 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.4241, allocations: 4 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.4241, allocations: 4 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.4242, allocations: 27.91 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.4243, allocations: 27.86 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.4245, allocations: 64 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4245, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4245, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4245, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 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.001024/0.4255, allocations: 399.2 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.4256, allocations: 8.031 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.4257, allocations: 34.75 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.4257, allocations: 4.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.4261, allocations: 188.2 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4261, allocations: 4.375 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.4261, allocations: 12.36 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.4267, allocations: 127.9 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4267, allocations: 11.88 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4268, allocations: 0 / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4268, allocations: 0 / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.4274, allocations: 127.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.4285, allocations: 436.9 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.4288, allocations: 89.14 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.4292, allocations: 65.72 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.4292, allocations: 0 / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.4293, allocations: 38.48 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.4293, allocations: 0 / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.001048/0.4303, allocations: 193.4 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.4304, allocations: 77.11 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4306, allocations: 129.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4306, allocations: 25.95 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4308, allocations: 104 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.4308, allocations: 3.953 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.4309, allocations: 17.72 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4311, allocations: 314.8 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.4314, allocations: 51.92 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.4317, allocations: 73.64 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.4322, allocations: 105.5 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4323, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006471/0.4329, allocations: 137.6 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.433, allocations: 8 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.433, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.433, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.4332, allocations: 23.91 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4332, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4334, allocations: 27.92 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4334, allocations: 0 / 1.171 GB, free: 2.5 MB / 0.92 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 0.0001703/0.4336, allocations: 125.8 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.4337, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.4337, allocations: 11.53 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.4337, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4338, allocations: 3.938 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4338, allocations: 3.938 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.4342, allocations: 177.6 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4342, allocations: 4 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.4344, allocations: 19.97 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4344, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.4344, allocations: 7.984 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4344, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4345, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.4352, allocations: 314.5 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.4353, allocations: 85.03 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.4354, allocations: 4.375 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.4356, allocations: 11.98 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.4357, allocations: 15.92 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4358, allocations: 4.031 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001059/0.4359, allocations: 99.2 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4359, allocations: 0 / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005076/0.4364, allocations: 11.95 kB / 1.171 GB, free: 1.52 MB / 0.92 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.001309/0.4377, allocations: 0.8405 MB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.4384, allocations: 107.9 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4384, allocations: 4.156 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.4388, allocations: 67.84 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.4394, allocations: 13.97 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.443, allocations: 1.578 MB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.4436, allocations: 0.7041 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.682e-05/0.4437, allocations: 15.98 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.4438, allocations: 15.44 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of SimCode: time 1.092e-06/0.4438, allocations: 0 / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.4801, allocations: 1.878 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.55, allocations: 6.469 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches