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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001663/0.001663, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 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.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.89 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002556/1.005, allocations: 0.6672 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001446/1.007, allocations: 0.8313 MB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/1.007, allocations: 5 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/1.007, allocations: 10.02 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/1.007, allocations: 7.625 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/1.007, allocations: 20.47 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/1.008, allocations: 75.44 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/1.008, allocations: 29.75 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/1.008, allocations: 40.73 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/1.008, allocations: 42.88 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/1.008, allocations: 5.656 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/1.008, allocations: 5.219 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/1.008, allocations: 29.61 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/1.008, allocations: 30.53 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/1.008, allocations: 98.23 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.009, allocations: 4.797 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/1.009, allocations: 1.281 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.009, allocations: 0 / 1.09 GB, free: 4.324 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.0008375/1.009, allocations: 393.5 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.009, allocations: 9.641 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/1.01, allocations: 8.844 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/1.01, allocations: 195.5 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/1.01, allocations: 12 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.01, allocations: 4.281 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/1.01, allocations: 157.2 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.011, allocations: 192 / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/1.011, allocations: 5.25 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/1.011, allocations: 1.188 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/1.011, allocations: 156.9 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/1.012, allocations: 446.9 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/1.012, allocations: 114.9 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/1.013, allocations: 82.59 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.013, allocations: 0.9062 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.013, allocations: 36.48 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/1.013, allocations: 3.938 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.001143/1.014, allocations: 223.9 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/1.014, allocations: 78.39 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.014, allocations: 133.4 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/1.014, allocations: 30.73 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/1.014, allocations: 93.38 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/1.014, allocations: 6.641 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/1.014, allocations: 23.45 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/1.015, allocations: 319.5 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/1.015, allocations: 66.86 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/1.015, allocations: 79.17 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/1.016, allocations: 134.6 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.016, allocations: 3.938 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006892/1.016, allocations: 164.2 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/1.016, allocations: 6.125 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.017, allocations: 0 / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.017, allocations: 1.703 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/1.017, allocations: 26.62 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.017, allocations: 8.734 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/1.017, allocations: 19.92 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.017, allocations: 2.125 kB / 1.093 GB, free: 2.207 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.0001253/1.017, allocations: 125.9 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/1.017, allocations: 6.312 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/1.017, allocations: 11.66 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.017, allocations: 0.6562 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.017, allocations: 8.594 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.017, allocations: 5.641 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/1.018, allocations: 200 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.018, allocations: 1.516 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/1.018, allocations: 22.33 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.018, allocations: 1.406 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.018, allocations: 1.062 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/1.018, allocations: 5.641 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.018, allocations: 4.469 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/1.019, allocations: 331.5 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/1.019, allocations: 87.23 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/1.019, allocations: 2.203 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/1.019, allocations: 19.61 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.019, allocations: 26.31 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/1.019, allocations: 6.594 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.706e-05/1.019, allocations: 94.47 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.019, allocations: 0 / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005359/1.02, allocations: 11.69 kB / 1.094 GB, free: 1.426 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.0001479/1.02, allocations: 103.8 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007047/1.021, allocations: 142.2 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.021, allocations: 1.031 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/1.021, allocations: 80.17 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/1.022, allocations: 22.75 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/1.023, allocations: 221.9 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/1.023, allocations: 0.7013 MB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/1.023, allocations: 12.53 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/1.023, allocations: 0.625 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of Templates: time 0.005543/1.028, allocations: 1.221 MB / 1.097 GB, free: 328 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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