Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008649/0.008649, allocations: 99.83 kB / 15.73 MB, free: 6.008 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.001673/0.001673, allocations: 191 kB / 16.67 MB, free: 5.926 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.623/2.623, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9945/0.9959, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00203/0.9979, allocations: 0.6664 MB / 1.221 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.999, allocations: 0.8312 MB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.9991, allocations: 4 kB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.9992, allocations: 3.938 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.931e-05/0.9992, allocations: 15.86 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.9994, allocations: 23.97 kB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.27e-05/0.9995, allocations: 27.92 kB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.9996, allocations: 8 kB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.9997, allocations: 15.92 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.9997, allocations: 23.91 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.9998, allocations: 0 / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.9998, allocations: 4 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.9998, allocations: 11.98 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.9999, allocations: 15.88 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/1, allocations: 39.53 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/1, allocations: 4 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/1, allocations: 0 / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.123e-06/1, allocations: 0 / 1.222 GB, free: 416 kB / 0.9356 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.0005322/1.001, allocations: 356.2 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.001, allocations: 12.03 kB / 1.223 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/1.001, allocations: 0.9375 kB / 1.223 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/1.001, allocations: 176.3 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.001, allocations: 384 / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/1.001, allocations: 8.375 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/1.001, allocations: 66.22 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.001, allocations: 192 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.001, allocations: 7.938 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.001, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/1.001, allocations: 43.89 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/1.002, allocations: 276.8 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/1.002, allocations: 38.55 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/1.002, allocations: 24.91 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/1.002, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/1.002, allocations: 42.42 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/1.002, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003747/1.002, allocations: 93.59 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/1.002, allocations: 51.41 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/1.002, allocations: 101.8 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/1.003, allocations: 29.7 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/1.003, allocations: 88.09 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/1.003, allocations: 0 / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/1.003, allocations: 25.83 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/1.003, allocations: 314.8 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/1.003, allocations: 19.98 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/1.003, allocations: 19.91 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.003, allocations: 52.83 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.003, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/1.003, allocations: 69.86 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.003, allocations: 4 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.003, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.003, allocations: 7.984 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.003, allocations: 8 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.003, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/1.003, allocations: 12.02 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/1.003, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 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.0001036/1.004, allocations: 122.2 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/1.004, allocations: 3.984 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/1.004, allocations: 7.125 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.004, allocations: 3.984 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.004, allocations: 0 / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/1.004, allocations: 3.938 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/1.004, allocations: 169.7 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.004, allocations: 4 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/1.004, allocations: 11.98 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/1.004, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.004, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/1.004, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.004, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/1.004, allocations: 171.5 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/1.004, allocations: 81.06 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/1.004, allocations: 0 / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/1.004, allocations: 7.984 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/1.004, allocations: 11.98 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/1.004, allocations: 3.938 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.625e-05/1.004, allocations: 83.28 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/1.004, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002099/1.004, allocations: 7.938 kB / 1.225 GB, free: 13.5 MB / 0.9512 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.0001204/1.005, allocations: 107.2 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002098/1.005, allocations: 43.89 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.005, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/1.005, allocations: 23.97 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.005, allocations: 8.062 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/1.005, allocations: 133.3 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.006, allocations: 0.6806 MB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.696e-05/1.006, allocations: 4 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/1.006, allocations: 15.38 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/1.006, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.002819/1.009, allocations: 0.6045 MB / 1.226 GB, free: 11.82 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches