Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.00112/0.00112, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00104/0.00104, allocations: 169 kB / 24.27 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.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.812/1.812, allocations: 359 MB / 0.6055 GB, free: 11.02 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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.177e-06/4.177e-06, allocations: 4.328 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.979e-05, allocations: 2.906 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00192/0.00195, allocations: 0.6596 MB / 0.7877 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.002737, allocations: 0.8436 MB / 0.7886 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.002783, allocations: 4.844 kB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.002879, allocations: 0 / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.138e-05/0.0029, allocations: 0.8438 kB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.00302, allocations: 15.92 kB / 0.7886 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.003096, allocations: 28.42 kB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.003192, allocations: 4 kB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.003252, allocations: 20.92 kB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.0033, allocations: 4 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.003318, allocations: 0.7188 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.003325, allocations: 4 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.003377, allocations: 16.84 kB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.003403, allocations: 3.938 kB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.769e-05/0.003481, allocations: 19.97 kB / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003483, allocations: 5.031 kB / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003484, allocations: 0 / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003489, allocations: 0.8125 kB / 0.7887 GB, free: 11.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003931/0.003882, allocations: 360.6 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.003925, allocations: 8.625 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.003965, allocations: 4.938 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.004103, allocations: 121.8 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.004112, allocations: 384 / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004121, allocations: 4.375 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004258, allocations: 60.42 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.004265, allocations: 192 / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004274, allocations: 384 / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.004282, allocations: 8.312 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.004309, allocations: 13.39 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.004618, allocations: 259.9 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.004663, allocations: 27 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.004684, allocations: 14.84 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.004692, allocations: 0 / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.004713, allocations: 37.33 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.004714, allocations: 0 / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.004848, allocations: 37.64 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.004876, allocations: 59.39 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.004942, allocations: 153.9 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004951, allocations: 26.83 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.005, allocations: 142.8 kB / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.005014, allocations: 0 / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.005036, allocations: 15.91 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.005147, allocations: 0.4884 MB / 0.7905 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.005159, allocations: 0.7188 kB / 0.7905 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-06/0.005166, allocations: 0.5 kB / 0.7905 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.005188, allocations: 13.28 kB / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005189, allocations: 256 / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.974e-05/0.005239, allocations: 45.52 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.005254, allocations: 10.5 kB / 0.7905 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.00526, allocations: 4 kB / 0.7905 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.005274, allocations: 4.797 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.005331, allocations: 4 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.005337, allocations: 0.5625 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.005351, allocations: 4.531 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.005357, allocations: 4 kB / 0.7905 GB, free: 9.105 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.736e-05/0.005414, allocations: 161.2 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.005427, allocations: 5.312 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.00545, allocations: 7.156 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005452, allocations: 0 / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005456, allocations: 0 / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.005459, allocations: 1.688 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.351e-05/0.005553, allocations: 116.6 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005554, allocations: 0 / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.005569, allocations: 7.938 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.00557, allocations: 1.969 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.005578, allocations: 3.938 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005579, allocations: 0 / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00558, allocations: 0 / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.00567, allocations: 183.9 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.00568, allocations: 12.61 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.00569, allocations: 3.938 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.005729, allocations: 2.438 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.005766, allocations: 7.984 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.005767, allocations: 0 / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.005804, allocations: 123.2 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005804, allocations: 0 / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001359/0.00594, allocations: 4 kB / 0.7912 GB, free: 8.418 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.702e-05/0.006017, allocations: 97.09 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.663e-05/0.006093, allocations: 19.67 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006095, allocations: 0 / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.00611, allocations: 12.16 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.006304, allocations: 6.25 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.006595, allocations: 126.2 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.006639, allocations: 59.34 kB / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.006659, allocations: 2.219 kB / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.006695, allocations: 8.5 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of SimCode: time 1.203e-06/0.006696, allocations: 0 / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.002054/0.00875, allocations: 465.4 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.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.290378463920206]