Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 216 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7958 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 65.31 kB / 1.155 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3784, allocations: 176.1 MB / 1.327 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001917/0.3803, allocations: 0.6726 MB / 1.328 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3814, allocations: 0.8709 MB / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3814, allocations: 0 / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.3815, allocations: 3.938 kB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.057e-05/0.3816, allocations: 0 / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3817, allocations: 20.03 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.3818, allocations: 43.72 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3819, allocations: 7.938 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.382, allocations: 15.98 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.3821, allocations: 19.92 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3821, allocations: 4 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.3821, allocations: 0 / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.3822, allocations: 11.98 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.3822, allocations: 19.86 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.786e-05/0.3823, allocations: 31.89 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3823, allocations: 4 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3823, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3823, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 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.0004706/0.3828, allocations: 274.3 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3828, allocations: 8.031 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3829, allocations: 12.89 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.383, allocations: 118.5 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.383, allocations: 384 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.383, allocations: 8.375 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3832, allocations: 66.22 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3832, allocations: 4.125 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3833, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3833, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.3835, allocations: 43.95 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.3838, allocations: 255.8 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.384, allocations: 42.55 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.3841, allocations: 28.88 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3841, allocations: 4 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3841, allocations: 30.56 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3841, allocations: 3.938 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003625/0.3845, allocations: 89.58 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3845, allocations: 51.41 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.3846, allocations: 109.8 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3847, allocations: 25.7 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3847, allocations: 88.09 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.3847, allocations: 4.078 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3848, allocations: 25.7 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3849, allocations: 314.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.385, allocations: 19.98 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.3851, allocations: 19.97 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3852, allocations: 40.89 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3852, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.3855, allocations: 73.59 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3855, allocations: 7.984 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3855, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3855, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3856, allocations: 8 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3856, allocations: 7.922 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.3857, allocations: 12.03 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3857, allocations: 0 / 1.331 GB, free: 13.89 MB / 1.029 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.0001626/0.3858, allocations: 118.3 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3858, allocations: 0 / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.3859, allocations: 7.312 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3859, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3859, allocations: 4 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3859, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.3861, allocations: 140.9 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3861, allocations: 4 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.3861, allocations: 11.98 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3861, allocations: 4 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.3861, allocations: 3.938 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3861, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3861, allocations: 3.984 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3864, allocations: 167.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-06/0.3864, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3864, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.3865, allocations: 11.98 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3866, allocations: 3.984 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3866, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.3866, allocations: 83.28 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3866, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000219/0.3868, allocations: 7.938 kB / 1.331 GB, free: 13.25 MB / 1.029 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.0001309/0.387, allocations: 103.3 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3872, allocations: 43.84 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3872, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.3873, allocations: 23.97 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.3875, allocations: 9.625 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.3879, allocations: 147.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3883, allocations: 0.6807 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3883, allocations: 11.44 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3883, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Templates: time 0.002252/0.3905, allocations: 0.6848 MB / 1.333 GB, free: 11.48 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.234221765014809]