Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001007/0.001007, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001011/0.001011, allocations: 166 kB / 24.87 MB, free: 9.258 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.9961/0.9961, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.798/1.798, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 0.5469 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.301e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002033/0.002066, allocations: 0.6809 MB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003261, allocations: 0.8759 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.0033, allocations: 0 / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.984e-05/0.00337, allocations: 3.938 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.157e-05/0.003391, allocations: 12.61 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.0035, allocations: 20.48 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.003555, allocations: 31.91 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.003616, allocations: 12.72 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.003664, allocations: 15.98 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.003704, allocations: 17.39 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.003717, allocations: 4 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.003724, allocations: 0 / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.003761, allocations: 15.97 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.003778, allocations: 15.16 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.288e-05/0.003841, allocations: 27.95 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.003845, allocations: 0 / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003846, allocations: 0 / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00385, allocations: 0 / 0.79 GB, free: 10.49 MB / 0.7448 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.000287/0.004137, allocations: 368.6 kB / 0.7903 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.004164, allocations: 11.97 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.004187, allocations: 4.938 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.004279, allocations: 121.6 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.00429, allocations: 384 / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.004297, allocations: 4.375 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.004391, allocations: 67.52 kB / 0.7905 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.004396, allocations: 5.438 kB / 0.7905 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.004402, allocations: 384 / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.004405, allocations: 384 / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.004429, allocations: 11.94 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.004637, allocations: 260.9 kB / 0.7908 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.004677, allocations: 31.64 kB / 0.7908 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.004696, allocations: 17.12 kB / 0.7909 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.004706, allocations: 0 / 0.7909 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.004726, allocations: 41.27 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004727, allocations: 1.562 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.004851, allocations: 41.69 kB / 0.7909 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.004878, allocations: 51.41 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.004945, allocations: 167.5 kB / 0.7911 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004955, allocations: 29.7 kB / 0.7912 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.005002, allocations: 130.8 kB / 0.7913 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.005012, allocations: 0 / 0.7913 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.005037, allocations: 28.91 kB / 0.7913 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.005145, allocations: 496.1 kB / 0.7918 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.005156, allocations: 0 / 0.7918 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.005166, allocations: 11.94 kB / 0.7918 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.00519, allocations: 18.27 kB / 0.7918 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.005191, allocations: 0 / 0.7918 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.053e-05/0.005241, allocations: 41.66 kB / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.005252, allocations: 8.562 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.005255, allocations: 256 / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.005262, allocations: 0.5312 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.005318, allocations: 12.7 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.005321, allocations: 0 / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.005338, allocations: 8.438 kB / 0.7919 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.005342, allocations: 0 / 0.7919 GB, free: 8.352 MB / 0.7448 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.506e-05/0.005407, allocations: 166 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.005423, allocations: 3.938 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.005439, allocations: 7.297 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.005441, allocations: 4.625 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005443, allocations: 0.9375 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005446, allocations: 0 / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.00553, allocations: 97.25 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005531, allocations: 5.078 kB / 0.7922 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.005553, allocations: 8 kB / 0.7922 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005555, allocations: 4 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.005559, allocations: 0.8438 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005561, allocations: 3.938 kB / 0.7922 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.005562, allocations: 0.5 kB / 0.7922 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.005649, allocations: 188.7 kB / 0.7924 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.005654, allocations: 0 / 0.7924 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.005661, allocations: 2.094 kB / 0.7924 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.005815, allocations: 11.92 kB / 0.7924 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.005842, allocations: 7.938 kB / 0.7924 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.005844, allocations: 4 kB / 0.7924 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.005875, allocations: 127.2 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005876, allocations: 0.5312 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001295/0.006005, allocations: 4 kB / 0.7925 GB, free: 7.668 MB / 0.7448 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.854e-05/0.006084, allocations: 100.2 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.006136, allocations: 23.67 kB / 0.7926 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.81e-07/0.006137, allocations: 0 / 0.7926 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.006155, allocations: 13.41 kB / 0.7926 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.006303, allocations: 4 kB / 0.7927 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.006497, allocations: 138.6 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.006525, allocations: 55.36 kB / 0.7928 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.006543, allocations: 2.25 kB / 0.7928 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.006587, allocations: 78.19 kB / 0.7929 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.006588, allocations: 0 / 0.7929 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.001942/0.00853, allocations: 0.737 MB / 0.7936 GB, free: 6.492 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.906327355187386]