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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|reaRep.y.2.|reaRep.y.3.",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.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.03 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8738, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001952/0.8757, allocations: 0.6448 MB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.8768, allocations: 0.7923 MB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.8768, allocations: 0 / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.443e-05/0.8769, allocations: 3.938 kB / 1.275 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.877, allocations: 3.938 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.8771, allocations: 19.97 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.8772, allocations: 19.98 kB / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.8773, allocations: 4 kB / 1.276 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.8773, allocations: 23.86 kB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.8774, allocations: 15.92 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.8774, allocations: 0 / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.8774, allocations: 4 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.8775, allocations: 3.938 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.8775, allocations: 15.92 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.8776, allocations: 35.55 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8776, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8776, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8776, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 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.0006063/0.8782, allocations: 354.3 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8783, allocations: 8.031 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.8783, allocations: 4.938 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.8785, allocations: 164.4 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.8786, allocations: 4.375 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.8786, allocations: 384 / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.8788, allocations: 58.17 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.8788, allocations: 192 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8788, allocations: 11.94 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8788, allocations: 3.984 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.879, allocations: 31.97 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.8794, allocations: 272.9 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.8796, allocations: 42.48 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.8797, allocations: 20.91 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.8797, allocations: 0 / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.8797, allocations: 30.56 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.8797, allocations: 0 / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003548/0.8801, allocations: 77.73 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.8801, allocations: 55.34 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.8802, allocations: 105.8 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.8802, allocations: 29.64 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.8803, allocations: 92.03 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.8803, allocations: 4 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.8803, allocations: 9.719 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8805, allocations: 314.8 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.8806, allocations: 24 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.8806, allocations: 15.98 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.8808, allocations: 32.83 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8808, allocations: 0 / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002782/0.8811, allocations: 69.67 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8811, allocations: 11.94 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8811, allocations: 3.938 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8811, allocations: 0 / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.8812, allocations: 7.984 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8812, allocations: 3.984 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.8812, allocations: 4 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.8812, allocations: 256 / 1.277 GB, free: 0.9062 MB / 0.9669 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 9.306e-05/0.8813, allocations: 125.8 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.8813, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.8814, allocations: 3.125 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8814, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8814, allocations: 4 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8814, allocations: 4 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.8817, allocations: 161.6 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8817, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.8817, allocations: 4 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.8817, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.8817, allocations: 11.98 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8817, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8817, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.882, allocations: 159.4 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.8821, allocations: 81.09 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.8821, allocations: 4 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.8822, allocations: 4.031 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.8823, allocations: 11.97 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.8823, allocations: 0 / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.8823, allocations: 83.22 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8823, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002106/0.8825, allocations: 7.953 kB / 1.278 GB, free: 168 kB / 0.9669 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 0.0001221/0.8826, allocations: 102.6 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.8829, allocations: 39.95 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8829, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.883, allocations: 15.98 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.8833, allocations: 8.078 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.8836, allocations: 121.4 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.884, allocations: 0.6847 MB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.884, allocations: 3.984 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.884, allocations: 7.438 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.884, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.002818/0.8868, allocations: 430.8 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.020315767731518]