Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.IntegerVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_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.01122/0.01122, allocations: 97.41 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.00224/0.002241, allocations: 197 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 2.133/2.133, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 3.919/3.919, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5121, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002149/0.5144, allocations: 0.6645 MB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.5156, allocations: 0.8354 MB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.5157, allocations: 7.938 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.5159, allocations: 7.922 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.516, allocations: 7.922 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.5161, allocations: 19.98 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.5163, allocations: 79.88 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.5165, allocations: 28.27 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.5166, allocations: 39.84 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.5167, allocations: 39.84 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.5167, allocations: 4 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.5167, allocations: 4 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.5168, allocations: 39.83 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.5169, allocations: 27.86 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.5171, allocations: 95.61 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5171, allocations: 0 / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5171, allocations: 0 / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.5171, allocations: 0 / 1.168 GB, free: 5.363 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009129/0.518, allocations: 407.1 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.5181, allocations: 12.03 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.646e-05/0.5182, allocations: 38.73 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.5182, allocations: 12.89 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.5185, allocations: 192.3 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.5186, allocations: 4.375 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.5186, allocations: 8.375 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.5192, allocations: 159.8 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5192, allocations: 3.938 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.5192, allocations: 8 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5192, allocations: 0 / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.5199, allocations: 151.8 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.5207, allocations: 452.6 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.5212, allocations: 121.1 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.5215, allocations: 69.7 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.5215, allocations: 4 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5216, allocations: 34.56 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5216, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.001105/0.5227, allocations: 233.3 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.5228, allocations: 77.11 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.523, allocations: 125.8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.523, allocations: 26.08 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.5231, allocations: 100.3 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.5232, allocations: 19.84 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.5233, allocations: 21.7 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5235, allocations: 318.8 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.5238, allocations: 59.92 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.524, allocations: 85.62 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.5244, allocations: 121.6 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5244, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005004/0.5249, allocations: 169.4 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.525, allocations: 7.938 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.525, allocations: 4 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.525, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5252, allocations: 23.97 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.5252, allocations: 7.938 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5254, allocations: 20.03 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.5254, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 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 0.0001404/0.5255, allocations: 125.8 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.5256, allocations: 4 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.5256, allocations: 15.45 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5256, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5256, allocations: 3.938 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5257, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.5261, allocations: 193.6 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5261, allocations: 4 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.5263, allocations: 19.97 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5263, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.5263, allocations: 8 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5263, allocations: 0 / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.5263, allocations: 7.938 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.5271, allocations: 334.7 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.5272, allocations: 92.98 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.5273, allocations: 7.938 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.5276, allocations: 11.98 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.5278, allocations: 31.89 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5278, allocations: 0 / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001072/0.5279, allocations: 99.27 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5279, allocations: 288 / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005219/0.5284, allocations: 16 kB / 1.172 GB, free: 0.9961 MB / 0.92 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.00143/0.5299, allocations: 0.8639 MB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008102/0.5307, allocations: 139.8 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5307, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.5312, allocations: 95.95 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.5318, allocations: 15.92 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.5359, allocations: 1.686 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.5364, allocations: 0.7041 MB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.5365, allocations: 23.98 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.5367, allocations: 19.44 kB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of SimCode: time 1.312e-06/0.5367, allocations: 0 / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.5666, allocations: 2.418 MB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.99, allocations: 7.891 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches