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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001537/0.001537, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 193.8 kB / 16.53 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 1.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002318/0.3533, allocations: 0.6484 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.3543, allocations: 0.7962 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.3544, allocations: 0 / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3545, allocations: 11.92 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.3546, allocations: 11.94 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.002e-05/0.3547, allocations: 4 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3548, allocations: 55.89 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.355, allocations: 19.92 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.355, allocations: 23.92 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.3551, allocations: 43.83 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3551, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.3552, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.3552, allocations: 15.98 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.3553, allocations: 27.8 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3554, allocations: 64.12 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3554, allocations: 4 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3554, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3554, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 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.0005948/0.356, allocations: 395.1 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.356, allocations: 12.03 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.3561, allocations: 34.75 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3561, allocations: 8.844 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.3563, allocations: 188.3 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.3563, allocations: 4.359 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3563, allocations: 4.375 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3567, allocations: 135.9 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3567, allocations: 7.875 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3567, allocations: 4 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3567, allocations: 3.938 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.3571, allocations: 123.8 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.3577, allocations: 436.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.358, allocations: 93.14 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3582, allocations: 61.66 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3582, allocations: 0 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3582, allocations: 38.56 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3582, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0006645/0.3589, allocations: 197.3 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3589, allocations: 77.11 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.359, allocations: 121.8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3591, allocations: 25.95 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3591, allocations: 100 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3591, allocations: 7.891 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3592, allocations: 13.72 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.3593, allocations: 314.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3595, allocations: 51.92 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3597, allocations: 69.64 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.36, allocations: 109.5 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.36, allocations: 3.938 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003835/0.3604, allocations: 137.6 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3604, allocations: 4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3604, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3604, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3606, allocations: 19.97 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3606, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.3607, allocations: 31.97 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3607, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 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 7.871e-05/0.3608, allocations: 121.8 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3608, allocations: 7.906 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.3609, allocations: 3.906 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3609, allocations: 0 / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3609, allocations: 8 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3609, allocations: 3.938 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3611, allocations: 193.5 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3611, allocations: 0 / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3612, allocations: 19.97 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3612, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3613, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3613, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3613, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.3617, allocations: 312.2 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.3618, allocations: 85.02 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3618, allocations: 3.984 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.362, allocations: 11.98 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.362, allocations: 15.92 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.362, allocations: 4.031 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.3621, allocations: 95.27 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3621, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002695/0.3624, allocations: 8 kB / 1.069 GB, free: 8.707 MB / 0.8262 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.0007098/0.3631, allocations: 0.841 MB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.3635, allocations: 107.9 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3635, allocations: 4.156 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3637, allocations: 67.86 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3641, allocations: 23.84 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3661, allocations: 1.575 MB / 1.071 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3663, allocations: 0.6924 MB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.694e-05/0.3664, allocations: 11.98 kB / 1.072 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3664, allocations: 27.36 kB / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3664, allocations: 288 / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.3849, allocations: 1.855 MB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.959, allocations: 3.984 kB / 1.074 GB, free: 3.488 MB / 0.8262 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