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.008374/0.008374, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.001648/0.001648, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.457/2.457, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.84 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002437/0.301, allocations: 0.6578 MB / 1.088 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3023, allocations: 0.8238 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.3024, allocations: 3.938 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.3026, allocations: 15.94 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.3026, allocations: 3.938 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3029, allocations: 15.98 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.303, allocations: 39.89 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3031, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.3032, allocations: 19.92 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.3033, allocations: 15.92 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3033, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.3033, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.3034, allocations: 15.98 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.3034, allocations: 23.86 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3036, allocations: 32.11 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3036, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3036, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3036, allocations: 0 / 1.089 GB, free: 300 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.0006501/0.3043, allocations: 347.4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.3043, allocations: 12.03 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.3044, allocations: 34.69 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.3044, allocations: 12.94 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3047, allocations: 172.3 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3047, allocations: 384 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3047, allocations: 384 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.305, allocations: 70.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.305, allocations: 3.938 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.305, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.305, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3053, allocations: 43.95 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.3058, allocations: 280.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3059, allocations: 42.55 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3061, allocations: 24.84 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3061, allocations: 8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3061, allocations: 38.48 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3061, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003849/0.3065, allocations: 81.64 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3066, allocations: 51.41 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3067, allocations: 114 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3067, allocations: 29.7 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3068, allocations: 92.03 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.3068, allocations: 3.953 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3069, allocations: 21.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3071, allocations: 318.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.3072, allocations: 19.98 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.3073, allocations: 23.91 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3074, allocations: 40.83 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3074, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002188/0.3077, allocations: 69.66 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3077, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3077, allocations: 4.094 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3077, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3079, allocations: 11.98 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3079, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.3079, allocations: 7.984 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.308, allocations: 3.984 kB / 1.091 GB, free: 14.11 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.000232/0.3082, allocations: 117.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3082, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.3083, allocations: 11.11 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3083, allocations: 7.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3083, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3083, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3085, allocations: 169.6 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3085, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.3086, allocations: 7.984 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.3086, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3086, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3086, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3086, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.309, allocations: 171.4 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.309, allocations: 81.11 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3091, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.3091, allocations: 7.984 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.3092, allocations: 7.984 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.3092, allocations: 8.281 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.3093, allocations: 91.22 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3093, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002426/0.3096, allocations: 4 kB / 1.092 GB, free: 13.33 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.0007603/0.3103, allocations: 0.7007 MB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3106, allocations: 39.95 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3106, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3107, allocations: 27.92 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.311, allocations: 4.094 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3128, allocations: 1.274 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3132, allocations: 0.6807 MB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.3132, allocations: 4 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.3133, allocations: 19.45 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3133, allocations: 0 / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.3337, allocations: 1.521 MB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.056, allocations: 17 kB / 1.096 GB, free: 9.055 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