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.00975/0.00975, allocations: 95.42 kB / 15.73 MB, free: 6.062 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.00225/0.00225, allocations: 197.9 kB / 16.68 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.472/2.472, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.665/4.665, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002814, allocations: 63.91 kB / 1.018 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4694, allocations: 151.6 MB / 1.166 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.003223/0.4727, allocations: 0.6581 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.4747, allocations: 0.8432 MB / 1.168 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.4748, allocations: 4 kB / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.4751, allocations: 0 / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.4751, allocations: 7.922 kB / 1.168 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.4754, allocations: 19.92 kB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.4756, allocations: 31.98 kB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.4758, allocations: 8 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.4759, allocations: 23.84 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.476, allocations: 11.98 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.476, allocations: 8 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.4761, allocations: 4 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.4762, allocations: 11.92 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.4762, allocations: 11.94 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.4764, allocations: 44.08 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4765, allocations: 0 / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.352e-06/0.4765, allocations: 0 / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.4765, allocations: 7.938 kB / 1.168 GB, free: 5.766 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.0008473/0.4773, allocations: 347.3 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.4774, allocations: 12.03 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/0.4775, allocations: 34.75 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.4776, allocations: 4.938 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.4779, allocations: 168.4 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.4779, allocations: 4.375 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.478, allocations: 8.312 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.4783, allocations: 62.22 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4784, allocations: 3.938 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4784, allocations: 4 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4784, allocations: 4 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.4787, allocations: 43.95 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.4794, allocations: 284.7 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.4797, allocations: 38.56 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4798, allocations: 28.89 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.4799, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.4799, allocations: 34.56 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/0.48, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0006675/0.4806, allocations: 93.53 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.4807, allocations: 59.47 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.4809, allocations: 105.8 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4809, allocations: 25.7 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.481, allocations: 88.02 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.4811, allocations: 7.953 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.4811, allocations: 17.7 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4813, allocations: 322.8 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4815, allocations: 15.98 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4816, allocations: 23.97 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.4819, allocations: 40.81 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4819, allocations: 0 / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003145/0.4822, allocations: 73.66 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4823, allocations: 9.594 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4823, allocations: 256 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4823, allocations: 7.984 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4825, allocations: 11.98 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4825, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.4826, allocations: 7.953 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.4826, allocations: 0 / 1.17 GB, free: 3.578 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.0002563/0.4829, allocations: 117.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4829, allocations: 8 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.483, allocations: 7.125 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.483, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.483, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.483, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.4833, allocations: 165.6 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4833, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.4835, allocations: 15.98 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4835, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4835, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4835, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4835, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.4841, allocations: 171.4 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.4842, allocations: 85.05 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4842, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4844, allocations: 4.031 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.4845, allocations: 11.98 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4845, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.4846, allocations: 83.28 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4846, allocations: 3.938 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003903/0.485, allocations: 4 kB / 1.17 GB, free: 2.816 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.0009185/0.4859, allocations: 0.7123 MB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.4863, allocations: 43.95 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4863, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.4864, allocations: 20.08 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4868, allocations: 12.05 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4891, allocations: 1.249 MB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.4895, allocations: 0.6769 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.872e-05/0.4896, allocations: 8.031 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.4897, allocations: 27.36 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of SimCode: time 1.292e-06/0.4897, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.5155, allocations: 1.525 MB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.63, allocations: 21.45 kB / 1.175 GB, free: 14.54 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