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.008837/0.008837, allocations: 103.3 kB / 15.74 MB, free: 6.004 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.002516/0.002517, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.102/2.102, allocations: 222.9 MB / 240.4 MB, free: 15.11 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 3.607/3.607, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 67.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623/1.625, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.003317/1.629, allocations: 0.6716 MB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001687/1.63, allocations: 0.8316 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/1.63, allocations: 4.938 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/1.631, allocations: 5.984 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/1.631, allocations: 11.7 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/1.631, allocations: 16.42 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000218/1.631, allocations: 76.17 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/1.631, allocations: 28.89 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/1.632, allocations: 40.38 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/1.632, allocations: 40.98 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/1.632, allocations: 9.031 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.954e-05/1.632, allocations: 5.562 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/1.632, allocations: 32.81 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.859e-05/1.632, allocations: 30.86 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/1.632, allocations: 92.41 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.632, allocations: 0 / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/1.632, allocations: 0 / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.335e-06/1.632, allocations: 1.094 kB / 1.089 GB, free: 4.055 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.0009975/1.633, allocations: 400.3 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/1.633, allocations: 9.281 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/1.634, allocations: 39.77 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/1.634, allocations: 8.062 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/1.634, allocations: 195.7 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/1.634, allocations: 4.844 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/1.634, allocations: 7.656 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/1.635, allocations: 157.4 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.635, allocations: 3.938 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/1.635, allocations: 5.031 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.635, allocations: 10.19 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/1.636, allocations: 148 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009725/1.637, allocations: 450.9 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/1.637, allocations: 119.1 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/1.638, allocations: 78.88 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/1.638, allocations: 1.094 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.638, allocations: 40.3 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/1.638, allocations: 0 / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.001464/1.639, allocations: 230.7 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.639, allocations: 79.06 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/1.639, allocations: 125.1 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.639, allocations: 26.77 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/1.64, allocations: 94.53 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/1.64, allocations: 13.97 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/1.64, allocations: 27.41 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/1.64, allocations: 314.7 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/1.64, allocations: 63.12 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/1.641, allocations: 83.33 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/1.641, allocations: 126 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.641, allocations: 0.5625 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008825/1.642, allocations: 164.1 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.642, allocations: 5.25 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.642, allocations: 1.406 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.642, allocations: 0.7188 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/1.643, allocations: 26.48 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/1.643, allocations: 8.781 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.643, allocations: 16.45 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/1.643, allocations: 2.469 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 0.0001543/1.643, allocations: 129.4 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/1.643, allocations: 7.078 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/1.643, allocations: 10.98 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.643, allocations: 0.8125 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.643, allocations: 5.219 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.643, allocations: 0.8438 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/1.644, allocations: 196.5 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.644, allocations: 6.906 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/1.644, allocations: 28.75 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.644, allocations: 1 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.644, allocations: 6.188 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.644, allocations: 4.812 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.644, allocations: 4.938 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/1.645, allocations: 331.1 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/1.645, allocations: 83.38 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/1.645, allocations: 5.875 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/1.645, allocations: 16.28 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.646, allocations: 29.8 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.646, allocations: 2.719 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.433e-05/1.646, allocations: 98.31 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.51e-07/1.646, allocations: 4 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005678/1.646, allocations: 19.5 kB / 1.093 GB, free: 1.09 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.001444/1.648, allocations: 0.8607 MB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009423/1.649, allocations: 138 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.649, allocations: 0 / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/1.649, allocations: 92.59 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/1.65, allocations: 14.08 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.004241/1.654, allocations: 1.683 MB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/1.655, allocations: 0.7022 MB / 1.097 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001511/1.655, allocations: 22.09 kB / 1.097 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/1.655, allocations: 23.22 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of SimCode: time 1.543e-06/1.655, allocations: 4.594 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/1.69, allocations: 2.411 MB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.55, allocations: 9.203 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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