Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001007/0.001007, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001059/0.001059, allocations: 161 kB / 24.16 MB, free: 332 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.981/0.981, allocations: 177.1 MB / 204.6 MB, free: 5.332 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.934/1.934, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.264e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001218/0.00124, allocations: 0.7069 MB / 0.7607 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.002038, allocations: 0.8376 MB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002077, allocations: 0.6562 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.03e-05/0.002168, allocations: 3.938 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.002192, allocations: 5.75 kB / 0.7616 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.384e-05/0.002286, allocations: 12.8 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.002348, allocations: 24.05 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.002412, allocations: 6.047 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.002467, allocations: 21.45 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.002511, allocations: 4.984 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.002525, allocations: 4 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-06/0.002529, allocations: 0 / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.002572, allocations: 17.61 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.002594, allocations: 9.625 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.539e-05/0.002659, allocations: 18.38 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.002661, allocations: 0.75 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002662, allocations: 0 / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.002664, allocations: 0.8125 kB / 0.7617 GB, free: 4.945 MB / 0.7136 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.0002319/0.002896, allocations: 243.7 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.002924, allocations: 8.031 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.00295, allocations: 4.938 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.003052, allocations: 110.7 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-06/0.003057, allocations: 384 / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.003065, allocations: 8.375 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.424e-05/0.003149, allocations: 56.36 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.003155, allocations: 192 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.00316, allocations: 384 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003165, allocations: 384 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.003183, allocations: 13.17 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.003366, allocations: 167.7 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.003398, allocations: 23.89 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.003413, allocations: 8.859 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.003418, allocations: 0 / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.003436, allocations: 30.56 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.003436, allocations: 3.031 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.448e-05/0.003531, allocations: 42.28 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.003562, allocations: 55.34 kB / 0.7624 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.003611, allocations: 102.7 kB / 0.7625 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.003619, allocations: 25.7 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.003649, allocations: 88.12 kB / 0.7626 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.003664, allocations: 3.953 kB / 0.7626 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.003685, allocations: 21.12 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.003757, allocations: 310.8 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.003763, allocations: 0 / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.003769, allocations: 0 / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.723e-05/0.003787, allocations: 15.67 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003788, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.711e-05/0.003825, allocations: 35.08 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.003835, allocations: 9.281 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00384, allocations: 3.938 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.003848, allocations: 0 / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.003895, allocations: 8.578 kB / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.003898, allocations: 0 / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.003913, allocations: 8.594 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.003916, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 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 4.52e-05/0.003962, allocations: 112.7 kB / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.003975, allocations: 0 / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.003991, allocations: 15.08 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.003993, allocations: 0 / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003994, allocations: 0 / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.003996, allocations: 0 / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.204e-05/0.004068, allocations: 73.89 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004069, allocations: 0 / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.004082, allocations: 11.77 kB / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.004083, allocations: 0 / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.004086, allocations: 0 / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004087, allocations: 0 / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.004088, allocations: 7.938 kB / 0.7632 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.659e-05/0.004145, allocations: 127.5 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.004152, allocations: 9.328 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-06/0.004158, allocations: 0 / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.802e-05/0.004186, allocations: 5.812 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.004211, allocations: 11.92 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.004212, allocations: 0 / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.037e-06/0.004221, allocations: 12.84 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004221, allocations: 0.6875 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001108/0.004332, allocations: 4 kB / 0.7634 GB, free: 3.004 MB / 0.7136 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 5.54e-05/0.004387, allocations: 78.86 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.516e-05/0.004433, allocations: 16.84 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.004435, allocations: 1.203 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.004447, allocations: 8.797 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.004568, allocations: 8 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.004757, allocations: 123.4 kB / 0.7636 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.004792, allocations: 55.36 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.322e-05/0.004806, allocations: 0 / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.00484, allocations: 52.94 kB / 0.7637 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.00484, allocations: 0 / 0.7637 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of Templates: time 0.001643/0.006483, allocations: 442.6 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.000889096874744]