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.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.001125/0.001125, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001202/0.001202, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9309/0.9309, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.272e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001426/0.001459, allocations: 0.6809 MB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.002445, allocations: 0.8709 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.002505, allocations: 4.5 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.002633, allocations: 4.5 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.999e-05/0.002663, allocations: 9.094 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.002847, allocations: 19.97 kB / 0.7887 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.18e-05/0.002929, allocations: 27.92 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.00303, allocations: 8.938 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.003093, allocations: 15.98 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.00316, allocations: 19.95 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.003182, allocations: 4.531 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.003192, allocations: 5.312 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.003248, allocations: 7.938 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.003277, allocations: 15.92 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.863e-05/0.003366, allocations: 32.44 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003368, allocations: 0 / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003369, allocations: 0.6562 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003373, allocations: 0 / 0.7888 GB, free: 10.79 MB / 0.7448 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.0004066/0.00378, allocations: 369.6 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.003825, allocations: 8.031 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.003866, allocations: 10.44 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.003992, allocations: 120.6 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.004013, allocations: 8.375 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.004023, allocations: 384 / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.004175, allocations: 67.84 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.004182, allocations: 192 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004191, allocations: 1.125 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.004198, allocations: 4.375 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.004237, allocations: 18.48 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.004545, allocations: 263.8 kB / 0.7896 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.359e-05/0.004609, allocations: 38.98 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.004633, allocations: 11.75 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.004649, allocations: 3.938 kB / 0.7897 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.004671, allocations: 39.05 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.004673, allocations: 0 / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.004826, allocations: 57.52 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.004861, allocations: 51.41 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.004932, allocations: 162.5 kB / 0.79 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004942, allocations: 26.42 kB / 0.79 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.004995, allocations: 138.8 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.005017, allocations: 4.469 kB / 0.7901 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.005045, allocations: 21 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.005164, allocations: 0.4923 MB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.005178, allocations: 0 / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.005189, allocations: 4 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.005217, allocations: 12.25 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005219, allocations: 0.5938 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.634e-05/0.005275, allocations: 58.3 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005287, allocations: 5.719 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005292, allocations: 1.156 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.005303, allocations: 0 / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.005378, allocations: 4 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.005385, allocations: 9.359 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.005403, allocations: 0 / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005408, allocations: 0 / 0.7907 GB, free: 8.609 MB / 0.7448 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 7.645e-05/0.005484, allocations: 158.5 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.005499, allocations: 7.938 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.005524, allocations: 7.312 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.005526, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.00553, allocations: 1.438 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005534, allocations: 3.984 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.893e-05/0.005633, allocations: 116.6 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.005634, allocations: 4.234 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.005654, allocations: 9.031 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.005657, allocations: 7.938 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005664, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005665, allocations: 1.969 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005666, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.005776, allocations: 195.9 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.005784, allocations: 7.953 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.005795, allocations: 6.312 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.005825, allocations: 3.984 kB / 0.7912 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.005872, allocations: 8 kB / 0.7912 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.005875, allocations: 0 / 0.7912 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.005911, allocations: 127.2 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005911, allocations: 0 / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001346/0.006046, allocations: 12 kB / 0.7914 GB, free: 7.887 MB / 0.7448 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 7.537e-05/0.006121, allocations: 97.72 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.006207, allocations: 23.61 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006209, allocations: 0 / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.006233, allocations: 14.25 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.006411, allocations: 9.891 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.006686, allocations: 130.1 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.006725, allocations: 55.36 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.006747, allocations: 0.9062 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.006779, allocations: 17.27 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.00678, allocations: 0 / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.002378/0.009158, allocations: 0.7085 MB / 0.7924 GB, free: 6.809 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.885471925139427]