Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.007983/0.007983, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.002209/0.002209, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.576/1.576, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 71.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3148, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001652/0.3165, allocations: 0.6426 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000886/0.3174, allocations: 0.7825 MB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.3175, allocations: 7.938 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.819e-05/0.3176, allocations: 0 / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.014e-05/0.3176, allocations: 7.922 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.579e-05/0.3177, allocations: 11.98 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.3178, allocations: 27.86 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.3179, allocations: 4 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.3179, allocations: 15.92 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.318, allocations: 4 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.318, allocations: 0 / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.318, allocations: 8 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.3181, allocations: 15.92 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.3181, allocations: 7.938 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.436e-05/0.3182, allocations: 35.88 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3182, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3182, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3182, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 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.0004396/0.3187, allocations: 347.3 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3187, allocations: 8.031 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.3188, allocations: 38.73 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.746e-05/0.3188, allocations: 4.938 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3189, allocations: 176.3 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.319, allocations: 384 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.319, allocations: 384 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3191, allocations: 58.23 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3192, allocations: 3.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.3192, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3192, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.3194, allocations: 43.95 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3198, allocations: 280.7 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3199, allocations: 34.53 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.32, allocations: 28.84 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.32, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.32, allocations: 34.56 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.32, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003328/0.3204, allocations: 77.58 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3204, allocations: 51.41 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.3205, allocations: 106 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3205, allocations: 25.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.3206, allocations: 92.09 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.3206, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.3206, allocations: 13.72 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3208, allocations: 314.8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.3209, allocations: 19.97 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.321, allocations: 15.98 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3211, allocations: 32.83 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3211, allocations: 7.938 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001947/0.3213, allocations: 69.55 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3213, allocations: 4 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3214, allocations: 4.094 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3214, allocations: 0 / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.3214, allocations: 7.984 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3215, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.3215, allocations: 4 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3215, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 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 8.567e-05/0.3216, allocations: 117.8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.3216, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.3217, allocations: 11.12 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3217, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3217, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.3217, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.3219, allocations: 165.6 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3219, allocations: 256 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.3219, allocations: 8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3219, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3219, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3219, allocations: 7.922 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.322, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3222, allocations: 167.4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3223, allocations: 81.09 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3223, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.3224, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3224, allocations: 3.984 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3224, allocations: 4.031 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.3225, allocations: 79.28 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3225, allocations: 0 / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002198/0.3227, allocations: 11.95 kB / 1.224 GB, free: 9.906 MB / 0.9825 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.0005641/0.3233, allocations: 0.6934 MB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.3235, allocations: 35.95 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3235, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.3236, allocations: 19.98 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3239, allocations: 1.891 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3252, allocations: 1.233 MB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3255, allocations: 0.6807 MB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.3255, allocations: 3.984 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.3256, allocations: 11.44 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3256, allocations: 3.938 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.3467, allocations: 1.298 MB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.144, allocations: 13.94 kB / 1.228 GB, free: 5.918 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches