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.00101/0.00101, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001407/0.001407, allocations: 166 kB / 24.86 MB, free: 9.266 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.9983/0.9983, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.971/1.971, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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 1.683e-06/1.683e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.491e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001112/0.001127, allocations: 0.6757 MB / 0.8134 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008153/0.001942, allocations: 0.8719 MB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.001984, allocations: 0 / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.002076, allocations: 3.938 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.006e-05/0.002096, allocations: 3.938 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.002229, allocations: 17.02 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.002292, allocations: 43.83 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.002373, allocations: 8.719 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.002429, allocations: 15.98 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.002483, allocations: 17.67 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.002498, allocations: 0 / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.002507, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.002555, allocations: 19.91 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.002576, allocations: 8 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.002654, allocations: 33.36 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002655, allocations: 0 / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002656, allocations: 4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002659, allocations: 0 / 0.8145 GB, free: 15.7 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.0003015/0.002961, allocations: 366 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.002991, allocations: 12.03 kB / 0.8148 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.003017, allocations: 8.938 kB / 0.8148 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.372e-05/0.003111, allocations: 118.3 kB / 0.8149 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.003124, allocations: 4.375 kB / 0.8149 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.003132, allocations: 4.375 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.003235, allocations: 66.92 kB / 0.815 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.003241, allocations: 1.344 kB / 0.815 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.003248, allocations: 4.312 kB / 0.815 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.003253, allocations: 4.359 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.381e-05/0.003276, allocations: 13.5 kB / 0.815 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.003503, allocations: 252.3 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.018e-05/0.003553, allocations: 35 kB / 0.8153 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.003568, allocations: 10.28 kB / 0.8153 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.003578, allocations: 4.062 kB / 0.8153 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.003603, allocations: 37.33 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003604, allocations: 0 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.003728, allocations: 45.69 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.003754, allocations: 52.12 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.003815, allocations: 165.9 kB / 0.8156 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.003824, allocations: 26.23 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.003866, allocations: 142.8 kB / 0.8158 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.003877, allocations: 1.656 kB / 0.8158 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.003904, allocations: 27.34 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.004005, allocations: 496.1 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.004014, allocations: 0 / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.004024, allocations: 4.5 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.004049, allocations: 16.25 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.004052, allocations: 4.797 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.759e-05/0.004099, allocations: 38.81 kB / 0.8163 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.004111, allocations: 11.94 kB / 0.8163 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.004114, allocations: 3.938 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-06/0.004121, allocations: 0.5 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.004171, allocations: 9.016 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.004173, allocations: 0 / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.004191, allocations: 4 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.004195, allocations: 0.9062 kB / 0.8164 GB, free: 13.56 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.015e-05/0.004255, allocations: 153.4 kB / 0.8165 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.00427, allocations: 7.938 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.004286, allocations: 11.3 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.004287, allocations: 2.188 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.004288, allocations: 0 / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.004291, allocations: 4 kB / 0.8165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.004372, allocations: 97.5 kB / 0.8166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004372, allocations: 0 / 0.8166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.004396, allocations: 14.67 kB / 0.8166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004397, allocations: 0 / 0.8166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.004401, allocations: 0 / 0.8166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.004402, allocations: 7.938 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004402, allocations: 0 / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.004489, allocations: 199.8 kB / 0.8168 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-06/0.004493, allocations: 0 / 0.8168 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.0045, allocations: 1.594 kB / 0.8168 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.004531, allocations: 7.938 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.004564, allocations: 7.984 kB / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.004566, allocations: 0 / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.004597, allocations: 127.7 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004597, allocations: 0.5 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001355/0.004732, allocations: 8 kB / 0.817 GB, free: 12.88 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 6.655e-05/0.004799, allocations: 96.59 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.004857, allocations: 16.55 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.004858, allocations: 4 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.004878, allocations: 16.28 kB / 0.8171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.005047, allocations: 19.56 kB / 0.8171 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.005247, allocations: 126.3 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.005276, allocations: 59.34 kB / 0.8173 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.005294, allocations: 0 / 0.8173 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.005339, allocations: 70.2 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.005339, allocations: 1.781 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of Templates: time 0.001887/0.007226, allocations: 0.7229 MB / 0.8181 GB, free: 11.72 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.214068855158985]