Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_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.005519/0.005519, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001535/0.001535, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.841/2.841, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003437/0.003437, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3144, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001815/0.3162, allocations: 0.6689 MB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.3172, allocations: 0.8291 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.3173, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.932e-05/0.3174, allocations: 3.938 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.3174, allocations: 3.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.3176, allocations: 15.98 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.3177, allocations: 31.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.3178, allocations: 15.98 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.3178, allocations: 19.92 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.3179, allocations: 15.92 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3179, allocations: 4 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.3179, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.318, allocations: 11.98 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.318, allocations: 15.88 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.3181, allocations: 43.8 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3181, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3181, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3181, allocations: 0 / 1.222 GB, free: 12.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000475/0.3186, allocations: 355.3 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3187, allocations: 8.031 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3187, allocations: 34.75 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.3187, allocations: 4.938 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.3189, allocations: 176.3 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3189, allocations: 4.375 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3189, allocations: 4.375 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3191, allocations: 66.22 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3192, allocations: 3.938 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.3192, allocations: 0 / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3192, allocations: 4 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3194, allocations: 47.89 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3198, allocations: 268.8 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.3199, allocations: 42.55 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.32, allocations: 28.84 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3201, allocations: 80 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3201, allocations: 38.5 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3201, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003936/0.3205, allocations: 101.6 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3205, allocations: 51.41 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.3206, allocations: 97.86 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3207, allocations: 25.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3207, allocations: 100 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3207, allocations: 4.125 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.3208, allocations: 17.72 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3209, allocations: 318.8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.321, allocations: 23.92 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.3211, allocations: 15.98 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3213, allocations: 48.88 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3213, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.3215, allocations: 69.61 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3216, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3216, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3216, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.3217, allocations: 15.98 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.3217, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.3218, allocations: 12.02 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3218, allocations: 3.938 kB / 1.224 GB, free: 10.41 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: 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.0001248/0.3219, allocations: 113.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3219, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.322, allocations: 11.12 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.322, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.322, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.322, allocations: 7.922 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3222, allocations: 169.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3222, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.319e-05/0.3223, allocations: 11.98 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3223, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3223, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3223, allocations: 3.984 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3223, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3226, allocations: 171.5 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3226, allocations: 81.06 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3227, allocations: 4.25 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.3228, allocations: 11.92 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.3228, allocations: 8 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3228, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.3229, allocations: 87.27 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3229, allocations: 0 / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000221/0.3231, allocations: 4 kB / 1.224 GB, free: 9.641 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: 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.0005988/0.3237, allocations: 0.7013 MB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.324, allocations: 47.92 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.324, allocations: 3.938 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3241, allocations: 23.97 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3243, allocations: 9.656 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.3258, allocations: 1.264 MB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3261, allocations: 0.6846 MB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.3262, allocations: 4 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3262, allocations: 11.44 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3262, allocations: 0 / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.3462, allocations: 1.535 MB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.939, allocations: 7.062 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches