Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001389/0.001389, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001509/0.001509, allocations: 173 kB / 23.36 MB, free: 1.129 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 1.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.446/2.446, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.112e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001464/0.001485, allocations: 0.6546 MB / 0.8392 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003886/0.005371, allocations: 0.847 MB / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.005419, allocations: 0 / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.00552, allocations: 3.938 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.005546, allocations: 0 / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.005652, allocations: 15.92 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.852e-05/0.005721, allocations: 19.92 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.005794, allocations: 8 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.005857, allocations: 15.92 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.005905, allocations: 15.92 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.005922, allocations: 0 / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.00593, allocations: 8 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.005976, allocations: 7.984 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.006, allocations: 11.92 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.415e-05/0.006075, allocations: 15.98 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006077, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006077, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.00608, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 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.000295/0.006375, allocations: 236.9 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.006412, allocations: 16.02 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.006434, allocations: 0.9375 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.006536, allocations: 113.8 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006546, allocations: 8.375 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.006556, allocations: 384 / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.006651, allocations: 54.94 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.006658, allocations: 4.125 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.006665, allocations: 4.375 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.00667, allocations: 4.375 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.006686, allocations: 11.88 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.006876, allocations: 159.1 kB / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.006913, allocations: 18.52 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.006928, allocations: 12.84 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.006935, allocations: 4.062 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.006955, allocations: 30.56 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.006956, allocations: 0 / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.443e-05/0.00705, allocations: 33.64 kB / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.007082, allocations: 51.41 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.007139, allocations: 110.7 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.007149, allocations: 29.64 kB / 0.841 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.007181, allocations: 92.14 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.007196, allocations: 12.06 kB / 0.8411 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.00722, allocations: 9.719 kB / 0.8411 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.007299, allocations: 314.8 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.007306, allocations: 4 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.007312, allocations: 0 / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.007332, allocations: 11.69 kB / 0.8414 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007334, allocations: 0 / 0.8414 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.921e-05/0.007373, allocations: 29.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007384, allocations: 7.984 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.007389, allocations: 4.031 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.0074, allocations: 8 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.007444, allocations: 3.938 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007448, allocations: 4 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.007465, allocations: 0 / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.007469, allocations: 0 / 0.8415 GB, free: 11.01 MB / 0.8073 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.011e-05/0.007519, allocations: 112.7 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.007539, allocations: 7.969 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.007556, allocations: 11.09 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.007558, allocations: 0 / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007559, allocations: 0 / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007562, allocations: 8 kB / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.919e-05/0.007662, allocations: 73.84 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.007663, allocations: 3.984 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.007678, allocations: 4 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007679, allocations: 3.938 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-06/0.007683, allocations: 0 / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007684, allocations: 0 / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.007686, allocations: 3.938 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.309e-05/0.007759, allocations: 131.5 kB / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-06/0.007764, allocations: 0 / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.007771, allocations: 4.031 kB / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.007813, allocations: 4 kB / 0.8418 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.007839, allocations: 7.922 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.00784, allocations: 256 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.007854, allocations: 16.86 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007854, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003178/0.01103, allocations: 4 kB / 0.8419 GB, free: 10.57 MB / 0.8073 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.556e-05/0.01111, allocations: 76.42 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.772e-05/0.01115, allocations: 12.86 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01116, allocations: 0 / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.01117, allocations: 8.859 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.01132, allocations: 3.984 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.01154, allocations: 127.3 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.01157, allocations: 55.36 kB / 0.8421 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.01159, allocations: 0 / 0.8421 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.01163, allocations: 59.48 kB / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.01163, allocations: 0 / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of Templates: time 0.002185/0.01381, allocations: 445.3 kB / 0.8426 GB, free: 9.75 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.322504138108343]