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.006071/0.006071, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001567/0.001567, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.742/2.742, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3198, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002051/0.3219, allocations: 0.6599 MB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3231, allocations: 0.8471 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.3232, allocations: 0 / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.3234, allocations: 3.938 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.705e-05/0.3234, allocations: 7.922 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.3236, allocations: 11.98 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.3237, allocations: 35.92 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3238, allocations: 11.98 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.3239, allocations: 11.94 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.324, allocations: 15.97 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.324, allocations: 8 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.324, allocations: 4 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.3241, allocations: 11.92 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.3241, allocations: 19.88 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3243, allocations: 44.08 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3243, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3243, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3243, allocations: 3.938 kB / 1.168 GB, free: 5.625 MB / 0.92 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.0005082/0.3248, allocations: 361.6 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3249, allocations: 8.031 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.3249, allocations: 34.75 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.3249, allocations: 4.938 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3251, allocations: 168.4 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3251, allocations: 384 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3252, allocations: 8.375 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.3254, allocations: 66.16 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3254, allocations: 3.938 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3254, allocations: 0 / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3254, allocations: 8 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.3256, allocations: 39.95 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.326, allocations: 272.8 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3262, allocations: 46.48 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3263, allocations: 28.91 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3263, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.3263, allocations: 38.5 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3263, allocations: 0 / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004142/0.3268, allocations: 93.7 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3268, allocations: 59.34 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.3269, allocations: 101.9 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3269, allocations: 29.7 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.327, allocations: 92 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.327, allocations: 3.953 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.3271, allocations: 17.72 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3272, allocations: 314.8 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.3273, allocations: 27.97 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.3274, allocations: 15.98 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.3275, allocations: 44.81 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3275, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002303/0.3278, allocations: 73.66 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3278, allocations: 4 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3278, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3278, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.328, allocations: 11.98 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.328, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.328, allocations: 11.94 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.328, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 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.0001778/0.3282, allocations: 121.8 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3283, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.3283, allocations: 11.12 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3283, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3283, allocations: 3.984 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3283, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.3285, allocations: 169.7 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3286, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.3286, allocations: 11.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3287, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3287, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3287, allocations: 4 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3287, allocations: 3.984 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.329, allocations: 171.4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3291, allocations: 81.06 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.3291, allocations: 256 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.3292, allocations: 12.02 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.3292, allocations: 12 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3292, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.3293, allocations: 87.27 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3293, allocations: 7.875 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002517/0.3296, allocations: 4 kB / 1.17 GB, free: 2.66 MB / 0.92 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.0007423/0.3303, allocations: 0.7046 MB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3306, allocations: 35.95 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3306, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3307, allocations: 28.06 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.331, allocations: 8 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3328, allocations: 1.241 MB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3333, allocations: 0.6846 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.3333, allocations: 8.031 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.3334, allocations: 11.44 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3334, allocations: 4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.3521, allocations: 1.523 MB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.971, allocations: 13.83 kB / 1.175 GB, free: 14.4 MB / 0.9356 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