Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009882/0.0009882, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000941/0.000941, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.75 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 1.834/1.834, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_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.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 7.875 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.657e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001248/0.001274, allocations: 0.6585 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.002245, allocations: 0.847 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.002286, allocations: 7.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.713e-05/0.002363, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.957e-05/0.002382, allocations: 7.938 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.002523, allocations: 15.92 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.00259, allocations: 39.91 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.002679, allocations: 11.92 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.002759, allocations: 19.98 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.002805, allocations: 7.984 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.002825, allocations: 4 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.002836, allocations: 4 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.002883, allocations: 11.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.002907, allocations: 11.98 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.002994, allocations: 47.75 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.002997, allocations: 7.984 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002998, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.003006, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 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.0003188/0.003324, allocations: 264.8 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003357, allocations: 8.75 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.003381, allocations: 4.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.003491, allocations: 121.7 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.003507, allocations: 384 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.003516, allocations: 4.375 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.003642, allocations: 62.22 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.003648, allocations: 4.188 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003657, allocations: 4.375 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003661, allocations: 384 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.003761, allocations: 51.83 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.004024, allocations: 209.3 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.004139, allocations: 46.48 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.004188, allocations: 28.91 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.004203, allocations: 7.938 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.004221, allocations: 34.55 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004222, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.004442, allocations: 85.64 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.004467, allocations: 51.41 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.004522, allocations: 105.8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.004532, allocations: 29.7 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.004567, allocations: 92.23 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.004579, allocations: 11.88 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.004607, allocations: 21.7 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.004677, allocations: 318.8 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.004718, allocations: 15.98 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.004757, allocations: 20.22 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.942e-05/0.004837, allocations: 40.89 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004839, allocations: 8 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.004943, allocations: 69.59 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.004954, allocations: 8 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004958, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.004968, allocations: 3.984 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.005032, allocations: 7.938 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005036, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.005063, allocations: 12.02 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005068, allocations: 4 kB / 1.004 GB, free: 9.41 MB / 0.9636 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.823e-05/0.005136, allocations: 109.8 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.005149, allocations: 11.92 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.54e-05/0.005164, allocations: 7.312 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005165, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.005169, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005171, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.005256, allocations: 113.2 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005256, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.005283, allocations: 15.98 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005286, allocations: 3.938 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005292, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005293, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.005294, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.005424, allocations: 171.4 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.005429, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.005441, allocations: 11.88 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.00548, allocations: 8.016 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.005517, allocations: 7.984 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.005519, allocations: 0 / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.005545, allocations: 83.28 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005545, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001419/0.005686, allocations: 8 kB / 1.005 GB, free: 8.809 MB / 0.9636 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 6.784e-05/0.005754, allocations: 95.23 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.00588, allocations: 43.97 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005881, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.005925, allocations: 23.91 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.006092, allocations: 11.98 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.006318, allocations: 150.4 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.006361, allocations: 67.34 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.006386, allocations: 8.5 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of SimCode: time 2.61e-07/0.006386, allocations: 128 / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of Templates: time 0.001309/0.007695, allocations: 0.7044 MB / 1.006 GB, free: 7.656 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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: 6.5274353213608265]