Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.008714/0.008715, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001607/0.001607, allocations: 196.6 kB / 16.67 MB, free: 5.52 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9647, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001854/0.9666, allocations: 0.6739 MB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.9675, allocations: 0.8281 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.9676, allocations: 1.031 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.9677, allocations: 6.453 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.721e-05/0.9678, allocations: 10.45 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.9679, allocations: 25.28 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.9681, allocations: 72.69 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.9682, allocations: 33.08 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.9683, allocations: 36.17 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.9684, allocations: 43.34 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.9685, allocations: 6.094 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.9685, allocations: 5.281 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.9685, allocations: 28.28 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.9686, allocations: 27.22 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.9688, allocations: 100.6 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9688, allocations: 0 / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9688, allocations: 0 / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.9688, allocations: 5.25 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006138/0.9694, allocations: 396.3 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9695, allocations: 8.5 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.9695, allocations: 35.69 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.9695, allocations: 13.19 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.9697, allocations: 187 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.9698, allocations: 8.469 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.9698, allocations: 4.25 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.9702, allocations: 169.2 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.9702, allocations: 3.938 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.9702, allocations: 1.094 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9702, allocations: 2 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.9707, allocations: 156.4 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.9713, allocations: 442.9 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.9717, allocations: 127.1 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.9719, allocations: 73.98 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.9719, allocations: 5 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.9719, allocations: 37.3 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9719, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007996/0.9727, allocations: 230.5 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.9728, allocations: 86.48 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.9729, allocations: 125.7 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.9729, allocations: 30.7 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.973, allocations: 94.48 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.973, allocations: 10.38 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.973, allocations: 23 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.9731, allocations: 318.8 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.9733, allocations: 63.48 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.9736, allocations: 78.89 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.974, allocations: 126.3 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.974, allocations: 0.875 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004724/0.9745, allocations: 163.5 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9745, allocations: 5.75 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9745, allocations: 2.016 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9745, allocations: 0 / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.9747, allocations: 26.2 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.9747, allocations: 5.281 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.9748, allocations: 19.83 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.9749, allocations: 7 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.616e-05/0.975, allocations: 129.4 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.975, allocations: 7.031 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.975, allocations: 10.27 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.975, allocations: 5.516 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9751, allocations: 5.219 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9751, allocations: 0.7969 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.9753, allocations: 200.2 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9753, allocations: 1.406 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.9755, allocations: 22.36 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9755, allocations: 1.094 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.9755, allocations: 1.75 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9755, allocations: 4.938 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9755, allocations: 5.734 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.976, allocations: 338.4 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.9761, allocations: 84.16 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.9761, allocations: 1.562 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.9763, allocations: 15.28 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.9764, allocations: 35.06 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.9764, allocations: 2.344 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.9764, allocations: 93.53 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9764, allocations: 0 / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002749/0.9767, allocations: 15.31 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0008557/0.9776, allocations: 0.8689 MB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.9781, allocations: 134.2 kB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9781, allocations: 4.906 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.9784, allocations: 91.5 kB / 1.094 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.9787, allocations: 14.12 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.9813, allocations: 1.683 MB / 1.096 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.9817, allocations: 0.7033 MB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.224e-05/0.9818, allocations: 17.67 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.9818, allocations: 30.73 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.9819, allocations: 0.875 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/1.006, allocations: 2.415 MB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/8.474, allocations: 9.344 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_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_IntegerVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches