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.001062/0.001062, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001019/0.001019, allocations: 169 kB / 23.82 MB, free: 0.7422 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.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.084/2.084, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.173e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002296/0.002328, allocations: 0.6839 MB / 0.8122 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003667, allocations: 0.8742 MB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.003719, allocations: 0 / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.003835, allocations: 7.922 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.003866, allocations: 3.938 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.004066, allocations: 28.97 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.004155, allocations: 27.92 kB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.004262, allocations: 12.81 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.004342, allocations: 11.98 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.004411, allocations: 19.97 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.004431, allocations: 1.344 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.004444, allocations: 7.938 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.004505, allocations: 11.98 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.00454, allocations: 9.938 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004664, allocations: 27.89 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004667, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.339e-06/0.004671, allocations: 4 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004676, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 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.0004514/0.005127, allocations: 370.2 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.005176, allocations: 12.03 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.005222, allocations: 4.938 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005381, allocations: 120.6 kB / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.005403, allocations: 1.281 kB / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.005418, allocations: 4.375 kB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.005634, allocations: 63.47 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.005646, allocations: 192 / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.005661, allocations: 5.031 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.005672, allocations: 384 / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.005725, allocations: 16.41 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.006104, allocations: 277 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.701e-05/0.006181, allocations: 31.06 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.006217, allocations: 20.27 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.006239, allocations: 5.312 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.006265, allocations: 37.33 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.006267, allocations: 3.938 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001834/0.00645, allocations: 38.86 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.006493, allocations: 59.39 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.006589, allocations: 161.9 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006601, allocations: 26.83 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.006665, allocations: 134.8 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.00668, allocations: 4 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.006721, allocations: 24.22 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.006869, allocations: 492.1 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.006894, allocations: 8.828 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.006909, allocations: 7.938 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.006952, allocations: 16.97 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006954, allocations: 0 / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.24e-05/0.007046, allocations: 50.42 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.007064, allocations: 8 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007069, allocations: 1.469 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.007085, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.007179, allocations: 8 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.007184, allocations: 1.312 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.007214, allocations: 7.984 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.00722, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 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 9.955e-05/0.007319, allocations: 158.1 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.007347, allocations: 7.938 kB / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.007378, allocations: 7.312 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00738, allocations: 2.781 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007383, allocations: 0 / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007386, allocations: 0 / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.007529, allocations: 120.6 kB / 0.8154 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007531, allocations: 3.938 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.007575, allocations: 7.984 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.007579, allocations: 3.938 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.007587, allocations: 4 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007589, allocations: 0.5 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.00759, allocations: 0.5312 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.00776, allocations: 193.2 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.007767, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.007781, allocations: 7.875 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.00784, allocations: 4.906 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.007896, allocations: 11.98 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.0079, allocations: 0 / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.00795, allocations: 127.8 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.00795, allocations: 0.6562 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002521/0.008202, allocations: 4 kB / 0.8158 GB, free: 13.09 MB / 0.7761 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.0001047/0.008307, allocations: 98.09 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.008406, allocations: 19.69 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008408, allocations: 0 / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.008438, allocations: 19.67 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.008708, allocations: 10.62 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.009036, allocations: 126.2 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.00908, allocations: 55.34 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.009113, allocations: 8.922 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.009154, allocations: 16.5 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.009155, allocations: 1.094 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of Templates: time 0.002871/0.01203, allocations: 0.6586 MB / 0.8168 GB, free: 12.05 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] 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","",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.61430358979851]