Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_9_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.004962/0.004962, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001199/0.001198, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 71.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9978/0.9993, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002096/1.001, allocations: 0.6428 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001082/1.003, allocations: 0.7892 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/1.003, allocations: 4 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/1.003, allocations: 6.172 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/1.003, allocations: 11.75 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.653e-05/1.003, allocations: 3.438 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/1.003, allocations: 62.2 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/1.003, allocations: 20.75 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/1.003, allocations: 27.31 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/1.004, allocations: 32.88 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/1.004, allocations: 4.656 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/1.004, allocations: 4.031 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/1.004, allocations: 22 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/1.004, allocations: 24.66 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/1.004, allocations: 75.03 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.004, allocations: 0 / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/1.004, allocations: 0 / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.004, allocations: 1 kB / 1.089 GB, free: 4.141 MB / 0.8575 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.0005576/1.004, allocations: 393.3 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.004, allocations: 9.75 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/1.004, allocations: 37.77 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/1.005, allocations: 8.734 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/1.005, allocations: 191.4 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/1.005, allocations: 6.438 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/1.005, allocations: 7.484 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/1.005, allocations: 136.8 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/1.005, allocations: 8.391 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/1.005, allocations: 1.094 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.005, allocations: 1.188 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/1.006, allocations: 124.3 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/1.006, allocations: 435 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/1.007, allocations: 94.78 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/1.007, allocations: 62.03 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/1.007, allocations: 0.5625 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.007, allocations: 32.28 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.007, allocations: 1.25 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0008552/1.008, allocations: 195.1 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.008, allocations: 78.2 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.008, allocations: 123.7 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.008, allocations: 25.95 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/1.008, allocations: 101.4 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/1.008, allocations: 10.06 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/1.008, allocations: 14.44 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/1.008, allocations: 313.4 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/1.008, allocations: 54.94 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.009, allocations: 70.38 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/1.009, allocations: 102 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.009, allocations: 1.281 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004584/1.009, allocations: 141.1 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.009, allocations: 5.562 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.009, allocations: 1.5 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.009, allocations: 4.625 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.01, allocations: 17.81 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.01, allocations: 1.547 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/1.01, allocations: 23.64 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/1.01, allocations: 1.438 kB / 1.092 GB, free: 2.047 MB / 0.8575 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 9.254e-05/1.01, allocations: 121.5 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/1.01, allocations: 6.766 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/1.01, allocations: 10.33 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.01, allocations: 1.344 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.01, allocations: 4.719 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.01, allocations: 4.719 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/1.01, allocations: 181.7 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.01, allocations: 0.7812 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.01, allocations: 18.02 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.01, allocations: 1.406 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.01, allocations: 0.6562 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.01, allocations: 5.578 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.01, allocations: 4.969 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/1.011, allocations: 311.4 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/1.011, allocations: 83.33 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/1.011, allocations: 1.516 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/1.011, allocations: 15.2 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/1.011, allocations: 14.73 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/1.011, allocations: 0.7812 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.459e-05/1.011, allocations: 98.39 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.011, allocations: 0.7188 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002678/1.012, allocations: 8.719 kB / 1.093 GB, free: 1.285 MB / 0.8575 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.0007855/1.012, allocations: 0.8421 MB / 1.094 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004691/1.013, allocations: 117.7 kB / 1.094 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.013, allocations: 0.8438 kB / 1.094 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/1.013, allocations: 63.7 kB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/1.013, allocations: 13.81 kB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/1.016, allocations: 1.595 MB / 1.095 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.016, allocations: 0.6985 MB / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.951e-05/1.016, allocations: 18.47 kB / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/1.016, allocations: 17.88 kB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.016, allocations: 0.5938 kB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/1.035, allocations: 1.867 MB / 1.098 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/8.449, allocations: 11.11 kB / 1.098 GB, free: 14.05 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches