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.001397/0.001397, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001652/0.001652, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9356/0.9356, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.756/1.756, allocations: 359 MB / 0.6055 GB, free: 10.85 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.094e-06/2.094e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.124e-05, allocations: 2.969 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001949/0.00197, allocations: 0.6719 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003165, allocations: 0.8876 MB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.003218, allocations: 0 / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.003325, allocations: 3.984 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.003356, allocations: 4.562 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.003534, allocations: 13.3 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.003612, allocations: 35.92 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.003706, allocations: 7.922 kB / 0.7891 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.003784, allocations: 27.86 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.003854, allocations: 12.83 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.003875, allocations: 4 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.003885, allocations: 4.562 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.003936, allocations: 12.66 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.003963, allocations: 7.938 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.004057, allocations: 24.88 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004059, allocations: 0 / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004059, allocations: 0 / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004063, allocations: 0.6562 kB / 0.7892 GB, free: 10.47 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.0003713/0.004435, allocations: 378.2 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.004476, allocations: 8.031 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.004508, allocations: 8.938 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.004618, allocations: 116.6 kB / 0.7897 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.004635, allocations: 5.719 kB / 0.7897 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.004645, allocations: 8.312 kB / 0.7897 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.004783, allocations: 58.94 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.00479, allocations: 192 / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004801, allocations: 5.969 kB / 0.7898 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004809, allocations: 8.359 kB / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.004842, allocations: 11.92 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.005115, allocations: 260.8 kB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.005172, allocations: 34.5 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.005191, allocations: 7.688 kB / 0.7901 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.005206, allocations: 0 / 0.7901 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.005231, allocations: 45.38 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005232, allocations: 0 / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.005376, allocations: 41.64 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.005407, allocations: 55.41 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.005489, allocations: 162.6 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.005499, allocations: 25.7 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.005556, allocations: 135.3 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.005572, allocations: 7.984 kB / 0.7906 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.005607, allocations: 19.91 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.00573, allocations: 0.4892 MB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.005746, allocations: 4 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.005758, allocations: 5.047 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.005795, allocations: 16.22 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.005798, allocations: 5.375 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.453e-05/0.005873, allocations: 45.59 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.005886, allocations: 7.938 kB / 0.7911 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.005892, allocations: 5.266 kB / 0.7911 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.005904, allocations: 4 kB / 0.7911 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.005978, allocations: 4 kB / 0.7911 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005981, allocations: 0 / 0.7911 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.006006, allocations: 4.656 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.00601, allocations: 0.7188 kB / 0.7911 GB, free: 8.316 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 8.576e-05/0.006096, allocations: 157.7 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.006124, allocations: 7.938 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.006154, allocations: 7.312 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006155, allocations: 0.8125 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006156, allocations: 0 / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006159, allocations: 2.219 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.0063, allocations: 105.2 kB / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006302, allocations: 0 / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.006346, allocations: 4 kB / 0.7914 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006347, allocations: 0 / 0.7914 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.006351, allocations: 0 / 0.7914 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006353, allocations: 7.125 kB / 0.7914 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.006354, allocations: 3.938 kB / 0.7914 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.006461, allocations: 191.9 kB / 0.7916 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.006467, allocations: 4 kB / 0.7916 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.006475, allocations: 3.984 kB / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.006509, allocations: 3.938 kB / 0.7916 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.006544, allocations: 7.984 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.006547, allocations: 0 / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.006579, allocations: 128.3 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006579, allocations: 0 / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001278/0.006707, allocations: 4 kB / 0.7918 GB, free: 7.641 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 6.832e-05/0.006775, allocations: 96.31 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.496e-05/0.00683, allocations: 28.11 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006831, allocations: 1.062 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.00685, allocations: 15.69 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.007004, allocations: 8.859 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.007206, allocations: 127.3 kB / 0.792 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.789e-05/0.007234, allocations: 51.36 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.007253, allocations: 5.406 kB / 0.7921 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.0073, allocations: 78.72 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.0073, allocations: 0 / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.001886/0.009186, allocations: 0.716 MB / 0.7929 GB, free: 6.484 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.918505005072802]