Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001031/0.001031, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001054/0.001054, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.069/1.069, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.549/2.549, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.532e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001524/0.001549, allocations: 0.7168 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.002473, allocations: 0.8818 MB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.002525, allocations: 4 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.002615, allocations: 3.938 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.00264, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.002784, allocations: 15.98 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.002851, allocations: 35.91 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.002929, allocations: 15.86 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.756e-05/0.002996, allocations: 19.92 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.003051, allocations: 15.98 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003067, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.003076, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.00312, allocations: 15.98 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.003143, allocations: 15.92 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.003222, allocations: 23.97 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003224, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003225, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.003229, allocations: 3.938 kB / 0.8404 GB, free: 12.39 MB / 0.8073 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.0003356/0.003565, allocations: 248.9 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.003596, allocations: 8.625 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.003623, allocations: 4.938 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.003734, allocations: 109.8 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.003749, allocations: 8.312 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.003757, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003872, allocations: 62.94 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.003879, allocations: 192 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.003887, allocations: 4.375 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.003892, allocations: 384 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.003917, allocations: 11.94 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.004132, allocations: 178.9 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.004172, allocations: 22.64 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.00419, allocations: 12.92 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.004201, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.004221, allocations: 34.56 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004222, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001078/0.004329, allocations: 45.56 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.004355, allocations: 51.41 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.00442, allocations: 110.7 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004431, allocations: 29.7 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.004465, allocations: 88.08 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.004481, allocations: 4.125 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.004509, allocations: 25.64 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.004584, allocations: 314.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.004596, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.004605, allocations: 4 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.004638, allocations: 19.67 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00464, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.931e-05/0.004699, allocations: 41.62 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.004712, allocations: 7.938 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004717, allocations: 4.094 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.004728, allocations: 0 / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.004798, allocations: 4 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.004801, allocations: 7.984 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.00482, allocations: 7.984 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004824, allocations: 0 / 0.8418 GB, free: 10.78 MB / 0.8073 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 6.159e-05/0.004886, allocations: 112.7 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.004901, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.00492, allocations: 11.25 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004922, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.004923, allocations: 4 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004925, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.38e-05/0.005009, allocations: 65.89 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.005011, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.005037, allocations: 7.984 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005039, allocations: 3.938 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.005044, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005045, allocations: 256 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.005046, allocations: 3.938 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.435e-05/0.005131, allocations: 135.5 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.005138, allocations: 11.98 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.005147, allocations: 3.984 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.375e-05/0.00518, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.005217, allocations: 15.92 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.00522, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.201e-05/0.005232, allocations: 8.859 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005232, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001301/0.005362, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 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 8.7e-05/0.005449, allocations: 84.34 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.848e-05/0.005507, allocations: 20.8 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.00551, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.005527, allocations: 8.859 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.005661, allocations: 13.7 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.005889, allocations: 131.2 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.005922, allocations: 59.34 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.005945, allocations: 4.125 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.005989, allocations: 51.38 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.005989, allocations: 4 kB / 0.8425 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.002165/0.008154, allocations: 0.6414 MB / 0.8431 GB, free: 9.27 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.5150444018654525]