Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.001547/0.001547, 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.001766/0.001766, allocations: 193.2 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 2.397/2.397, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.91 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5791, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002115/0.5812, allocations: 0.6618 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.5822, allocations: 0.8312 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.5823, allocations: 7.938 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.215e-05/0.5823, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.944e-05/0.5824, allocations: 3.938 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.5825, allocations: 27.89 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.5826, allocations: 23.98 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.5827, allocations: 8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.5828, allocations: 19.92 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.5828, allocations: 19.86 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.5829, allocations: 8 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.5829, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.5829, allocations: 11.98 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.583, allocations: 19.86 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.879e-05/0.5831, allocations: 35.89 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5831, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.103e-06/0.5831, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.5831, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000421/0.5835, allocations: 349.7 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5836, allocations: 16.03 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.5836, allocations: 30.75 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.5836, allocations: 8.844 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.5838, allocations: 172.3 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.5838, allocations: 4.375 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.5838, allocations: 384 / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.584, allocations: 70.2 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.584, allocations: 7.875 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.584, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.584, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.5842, allocations: 43.95 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.5846, allocations: 276.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.5848, allocations: 50.48 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.5849, allocations: 24.91 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5849, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5849, allocations: 34.55 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.5849, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003682/0.5853, allocations: 85.73 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5853, allocations: 55.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.5854, allocations: 106 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.5854, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.5855, allocations: 95.98 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.5855, allocations: 3.906 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.5856, allocations: 17.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.5857, allocations: 322.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.5858, allocations: 20.02 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.5858, allocations: 24.03 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.586, allocations: 36.83 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.586, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.5862, allocations: 73.72 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5863, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5863, allocations: 3.938 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5863, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.5864, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5864, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.5865, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.5865, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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.0001225/0.5866, allocations: 121.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.5866, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.5867, allocations: 7.109 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5867, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5867, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.5867, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.5868, allocations: 173.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5868, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.5869, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5869, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5869, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5869, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5869, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.5872, allocations: 175.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.5873, allocations: 81.11 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.5873, allocations: 32 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.5874, allocations: 11.98 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5874, allocations: 11.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.5874, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.5875, allocations: 83.28 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5875, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002129/0.5877, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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.0005279/0.5882, allocations: 0.7084 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5885, allocations: 43.89 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5885, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.5886, allocations: 28.08 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.5888, allocations: 5.062 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.5902, allocations: 1.253 MB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5905, allocations: 0.6807 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.5905, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.5906, allocations: 15.44 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.5906, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.6086, allocations: 1.495 MB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.782, allocations: 11.52 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches