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.0009463/0.0009463, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001025/0.001025, allocations: 169 kB / 24.28 MB, free: 284 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 1.057/1.057, allocations: 177.2 MB / 204.6 MB, free: 5.633 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 1.885/1.885, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.873e-06/1.873e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.154e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001263/0.001285, allocations: 0.68 MB / 0.8122 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.002113, allocations: 0.8708 MB / 0.813 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.002163, allocations: 0 / 0.813 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.967e-05/0.002263, allocations: 12.55 kB / 0.8131 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.29e-05/0.002286, allocations: 4.844 kB / 0.8131 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.002445, allocations: 15.98 kB / 0.8131 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.002523, allocations: 35.91 kB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.00262, allocations: 8.594 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.002685, allocations: 21.11 kB / 0.8131 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.002741, allocations: 15.98 kB / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.002762, allocations: 0 / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.002772, allocations: 4 kB / 0.8132 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.002825, allocations: 16.69 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.002854, allocations: 8.938 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.002937, allocations: 27.89 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002939, allocations: 4 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00294, allocations: 0.875 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002944, allocations: 0 / 0.8132 GB, free: 356 kB / 0.7605 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.0003741/0.003318, allocations: 369.8 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003356, allocations: 12.03 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.003398, allocations: 4.938 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.003529, allocations: 126.1 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.003547, allocations: 384 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.003558, allocations: 4.375 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.003696, allocations: 62.94 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003703, allocations: 1.594 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.003713, allocations: 384 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.003721, allocations: 4.312 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.003761, allocations: 19.92 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.004057, allocations: 268.4 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.004114, allocations: 36.25 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.004138, allocations: 15.73 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.004152, allocations: 5.781 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.004174, allocations: 37.39 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.004175, allocations: 0 / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.004325, allocations: 41.69 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.004357, allocations: 52.91 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.004433, allocations: 165.9 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004442, allocations: 29.64 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.004491, allocations: 142.8 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.004503, allocations: 0.5625 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.004532, allocations: 23.38 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.00464, allocations: 497.5 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.00466, allocations: 4 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.00467, allocations: 0 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.004701, allocations: 20.84 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004703, allocations: 0 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.437e-05/0.004757, allocations: 47.55 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00477, allocations: 8 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.004774, allocations: 3.938 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.004787, allocations: 3.938 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.004855, allocations: 4.531 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.004861, allocations: 0 / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.004881, allocations: 12.7 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.004884, allocations: 1.281 kB / 0.8152 GB, free: 14.17 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 6.984e-05/0.004954, allocations: 156.6 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.004968, allocations: 3.938 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.004985, allocations: 3.938 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.004987, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.004991, allocations: 5.125 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.004994, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.223e-05/0.005086, allocations: 124.7 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005087, allocations: 0.7812 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.005111, allocations: 7.984 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005113, allocations: 8.75 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.005119, allocations: 0 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00512, allocations: 0.9375 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005121, allocations: 0 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.636e-05/0.005217, allocations: 197.2 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.005222, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.005233, allocations: 7.938 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.005265, allocations: 0.9062 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.005309, allocations: 7.984 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005313, allocations: 3.984 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.005349, allocations: 137.7 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005349, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000144/0.005493, allocations: 4 kB / 0.8158 GB, free: 13.46 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 7.168e-05/0.005564, allocations: 95.25 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.005642, allocations: 23.12 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005643, allocations: 0 / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.005667, allocations: 23.61 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.005846, allocations: 10.17 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.006103, allocations: 122.3 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.006138, allocations: 55.97 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.006161, allocations: 9 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.006191, allocations: 17.09 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.006191, allocations: 0 / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.002251/0.008443, allocations: 0.6605 MB / 0.8168 GB, free: 12.41 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.242850115988404]