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.001004/0.001004, 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.0009925/0.0009925, 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.9968/0.9968, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.926/1.926, allocations: 377.9 MB / 0.624 GB, free: 8.367 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 3.537e-06/3.537e-06, allocations: 4 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.235e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002251/0.002283, allocations: 0.6715 MB / 0.8127 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.003264, allocations: 0.8798 MB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.003314, allocations: 1.312 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.003422, allocations: 3.938 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.538e-05/0.003448, allocations: 7.984 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.003609, allocations: 16.95 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.003684, allocations: 31.92 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003787, allocations: 7.938 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.003865, allocations: 28.69 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.003935, allocations: 11.98 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.003954, allocations: 5.688 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.003965, allocations: 0 / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.004022, allocations: 11.98 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.004053, allocations: 15.92 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.248e-05/0.004145, allocations: 25.5 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004148, allocations: 3.938 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004149, allocations: 0 / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004153, allocations: 0 / 0.8137 GB, free: 15.74 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.0003793/0.004533, allocations: 377.8 kB / 0.814 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.004573, allocations: 11.97 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.004604, allocations: 8.938 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.004715, allocations: 118.2 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.004732, allocations: 4.375 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.004739, allocations: 4.375 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.004866, allocations: 62.94 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.004872, allocations: 2.781 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.004879, allocations: 384 / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004883, allocations: 384 / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.004915, allocations: 19.86 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.005166, allocations: 252.3 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.005217, allocations: 27.06 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.005237, allocations: 20.39 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.005256, allocations: 0.5312 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.005278, allocations: 37.33 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.005278, allocations: 5.656 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000134/0.005412, allocations: 37.7 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.005441, allocations: 55.39 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.00552, allocations: 162.6 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.005532, allocations: 26.2 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.005588, allocations: 142.8 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.005603, allocations: 4.875 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.005632, allocations: 19.38 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.005755, allocations: 493.3 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.005771, allocations: 7.922 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.00578, allocations: 4 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.005811, allocations: 21.05 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005813, allocations: 3.938 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.03e-05/0.005873, allocations: 47.39 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.005889, allocations: 7.938 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005894, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005906, allocations: 3.984 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.005979, allocations: 4.844 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005982, allocations: 7.938 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.006, allocations: 2.125 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.006004, allocations: 3.984 kB / 0.8156 GB, free: 13.59 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.944e-05/0.006084, allocations: 156.6 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.006098, allocations: 3.938 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.006119, allocations: 11.31 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006122, allocations: 0.5 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006123, allocations: 2.594 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006126, allocations: 0 / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.992e-05/0.006226, allocations: 97.25 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006228, allocations: 256 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.006264, allocations: 12 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006267, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.006271, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.006274, allocations: 9.609 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006275, allocations: 0 / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.006398, allocations: 191.8 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006405, allocations: 3.984 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.006414, allocations: 4.5 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.006448, allocations: 4.5 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.006489, allocations: 11.98 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006492, allocations: 1.656 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.006534, allocations: 127.2 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006534, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000132/0.006666, allocations: 4 kB / 0.8162 GB, free: 12.91 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.0001086/0.006775, allocations: 96.31 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.006849, allocations: 20.55 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006851, allocations: 0 / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.006872, allocations: 19.31 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.007054, allocations: 11.98 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.007317, allocations: 128.6 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.007353, allocations: 55.36 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.007378, allocations: 9.766 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.00743, allocations: 70.2 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.007431, allocations: 0 / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.002194/0.009626, allocations: 0.7135 MB / 0.8173 GB, free: 11.76 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: 4.967396484687924]