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.001355/0.001355, 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.001347/0.001347, allocations: 165 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.9328/0.9328, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.89/1.89, allocations: 377.8 MB / 0.6236 GB, free: 8.598 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.284e-06/2.284e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.67e-05, allocations: 6.812 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001398/0.001425, allocations: 0.688 MB / 0.8122 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.002194, allocations: 0.8742 MB / 0.8131 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.002231, allocations: 4.969 kB / 0.8131 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 8.236e-05/0.002313, allocations: 0 / 0.8131 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.357e-05/0.002337, allocations: 7.875 kB / 0.8131 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.002498, allocations: 16.61 kB / 0.8131 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.00257, allocations: 33.33 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.002652, allocations: 15.91 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.002713, allocations: 15.98 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.002768, allocations: 15.92 kB / 0.8132 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.002787, allocations: 5.125 kB / 0.8132 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.002796, allocations: 4 kB / 0.8132 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.00284, allocations: 11.98 kB / 0.8132 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.002866, allocations: 8.672 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.002942, allocations: 27.86 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.002944, allocations: 0.9062 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002944, allocations: 0 / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.002949, allocations: 4.641 kB / 0.8132 GB, free: 48 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.0003544/0.003303, allocations: 364.6 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.003337, allocations: 8.906 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.003374, allocations: 8.938 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.003487, allocations: 121.8 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.003506, allocations: 8.375 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003515, allocations: 384 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.003659, allocations: 72.81 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.003668, allocations: 192 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.003678, allocations: 384 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.003685, allocations: 4.312 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.003727, allocations: 15.92 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.004032, allocations: 268.7 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.004098, allocations: 43.95 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.004123, allocations: 7.688 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.004138, allocations: 8 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.004161, allocations: 34.14 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.004163, allocations: 0.5938 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.004324, allocations: 46.78 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.004356, allocations: 55.34 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.004437, allocations: 165.9 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.004447, allocations: 26.23 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.004495, allocations: 136.1 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.004509, allocations: 0 / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.004542, allocations: 19.38 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.004661, allocations: 0.4923 MB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.004678, allocations: 1.125 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.004691, allocations: 4 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.004724, allocations: 12.19 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.004727, allocations: 0.875 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.252e-05/0.004799, allocations: 59.23 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.004811, allocations: 6.656 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004816, allocations: 0 / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.004829, allocations: 4 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.004906, allocations: 8.234 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.004911, allocations: 1.531 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.004935, allocations: 4 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.00494, allocations: 4 kB / 0.8152 GB, free: 13.87 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 7.632e-05/0.005017, allocations: 157.3 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.005043, allocations: 11.94 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.005063, allocations: 6.75 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.005067, allocations: 7.969 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00507, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.005073, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.005192, allocations: 120.6 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005193, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.005221, allocations: 4 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.005225, allocations: 3.938 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.005231, allocations: 0 / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005234, allocations: 4.625 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005234, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.005348, allocations: 197.9 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.005353, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.005365, allocations: 3.938 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.005416, allocations: 7.984 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.005461, allocations: 4.875 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.005466, allocations: 7.984 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.00551, allocations: 123.2 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00551, allocations: 1.719 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002157/0.005726, allocations: 8 kB / 0.8158 GB, free: 13.16 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 8.516e-05/0.005811, allocations: 95.88 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.005903, allocations: 20.36 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005905, allocations: 3.938 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.005929, allocations: 12.5 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.006164, allocations: 14.94 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.006437, allocations: 127.6 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.006479, allocations: 55.36 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.006505, allocations: 4.781 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.006538, allocations: 14.42 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.006538, allocations: 0 / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.002483/0.009021, allocations: 0.6914 MB / 0.8168 GB, free: 12.1 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.025403680279851]