Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_9_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.009222/0.009221, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.002009/0.002009, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.428/2.428, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.42 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2958, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002067/0.2979, allocations: 0.661 MB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.299, allocations: 0.8276 MB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.2991, allocations: 0 / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.699e-05/0.2992, allocations: 8 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.25e-05/0.2992, allocations: 7.922 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.2994, allocations: 19.92 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.335e-05/0.2995, allocations: 35.91 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2996, allocations: 11.98 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.2997, allocations: 19.86 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.2998, allocations: 19.92 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2998, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.2998, allocations: 4 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.2999, allocations: 15.97 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.2999, allocations: 19.88 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.3, allocations: 34.69 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3, allocations: 4 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3, allocations: 0 / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3001, allocations: 4 kB / 1.089 GB, free: 364 kB / 0.8419 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.0005648/0.3006, allocations: 339.5 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3007, allocations: 12.03 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.3007, allocations: 30.75 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.3008, allocations: 4.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3009, allocations: 177.1 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.301, allocations: 4.375 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.301, allocations: 384 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3012, allocations: 78.14 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3012, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3012, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3012, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.3014, allocations: 39.95 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.3019, allocations: 280.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.302, allocations: 46.5 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.3021, allocations: 24.89 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3021, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3022, allocations: 30.56 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3022, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.3026, allocations: 93.48 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3026, allocations: 51.41 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.3027, allocations: 105.8 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3027, allocations: 25.7 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.3028, allocations: 88.14 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.3028, allocations: 3.906 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3028, allocations: 25.83 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.303, allocations: 314.8 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.3031, allocations: 19.98 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.3032, allocations: 15.97 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3033, allocations: 44.81 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3034, allocations: 8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.3036, allocations: 73.59 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3036, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3036, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3036, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3038, allocations: 11.98 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3038, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.3038, allocations: 8.031 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3039, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 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.0001872/0.3041, allocations: 121.8 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3041, allocations: 3.906 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.3041, allocations: 7.062 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3041, allocations: 256 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3041, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3041, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3043, allocations: 169.6 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3043, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.3044, allocations: 7.984 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3044, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3044, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3044, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3044, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.3047, allocations: 171.4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3048, allocations: 85.09 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3048, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.3049, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3049, allocations: 7.984 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3049, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.305, allocations: 79.28 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.305, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002248/0.3052, allocations: 15.84 kB / 1.092 GB, free: 13.41 MB / 0.8575 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.0005839/0.3058, allocations: 0.7046 MB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3061, allocations: 43.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3061, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.3062, allocations: 23.98 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3064, allocations: 5.547 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.308, allocations: 1.27 MB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3083, allocations: 0.6768 MB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.3083, allocations: 7.984 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.3084, allocations: 19.42 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of SimCode: time 4.729e-06/0.3084, allocations: 0 / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3285, allocations: 1.526 MB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.09, allocations: 13.72 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches