Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001357/0.001357, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001829/0.001829, allocations: 198.5 kB / 22.17 MB, free: 5.211 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.47/1.47, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.864/2.864, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8958, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002191/0.898, allocations: 0.6719 MB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.8992, allocations: 0.839 MB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.8993, allocations: 0 / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.8994, allocations: 3.938 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.761e-05/0.8994, allocations: 4 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.8996, allocations: 23.92 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.8997, allocations: 23.98 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.8998, allocations: 23.56 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.8999, allocations: 11.94 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.8999, allocations: 15.92 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.8999, allocations: 4 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.9, allocations: 4 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.9, allocations: 15.98 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.9001, allocations: 15.88 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.9002, allocations: 39.86 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9002, allocations: 3.938 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9002, allocations: 0 / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9002, allocations: 0 / 1.276 GB, free: 2.809 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005892/0.9008, allocations: 354.3 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.9008, allocations: 8.031 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.9009, allocations: 8.938 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.9011, allocations: 176.3 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.9011, allocations: 384 / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.9011, allocations: 12.31 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.9013, allocations: 58.23 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9014, allocations: 192 / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.9014, allocations: 3.938 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9014, allocations: 4 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.9016, allocations: 47.95 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.902, allocations: 280.8 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.9022, allocations: 38.5 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9023, allocations: 32.88 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.9023, allocations: 4 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.9023, allocations: 30.56 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.9023, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004114/0.9028, allocations: 89.53 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.9028, allocations: 55.41 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.9029, allocations: 106 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.9029, allocations: 29.7 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.903, allocations: 88.09 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.903, allocations: 3.984 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.903, allocations: 17.72 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9032, allocations: 314.8 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.9033, allocations: 23.97 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.9034, allocations: 19.98 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.9036, allocations: 44.81 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9036, allocations: 0 / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002256/0.9038, allocations: 73.55 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9038, allocations: 4 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.9038, allocations: 0 / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.9038, allocations: 4.094 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.9039, allocations: 12.23 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.904, allocations: 0 / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.904, allocations: 12 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.904, allocations: 3.984 kB / 1.278 GB, free: 0.6641 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: 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 0.0001752/0.9042, allocations: 113.8 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.9042, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.9042, allocations: 15 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9043, allocations: 8 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9043, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9043, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.9045, allocations: 165.6 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9045, allocations: 0 / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.9045, allocations: 11.98 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.9045, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.9045, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9045, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9045, allocations: 3.938 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.9048, allocations: 171.4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.9049, allocations: 85.06 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.9049, allocations: 0 / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.905, allocations: 8 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.905, allocations: 3.984 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.9051, allocations: 4.047 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.9051, allocations: 91.25 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9051, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.9053, allocations: 7.938 kB / 1.278 GB, free: 15.9 MB / 0.9825 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 0.0001463/0.9055, allocations: 99.78 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.9057, allocations: 43.83 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9057, allocations: 4.062 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.9058, allocations: 23.98 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.9061, allocations: 1.562 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.9064, allocations: 129.4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.9067, allocations: 0.6807 MB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.9068, allocations: 8.062 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.9068, allocations: 7.438 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.9068, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.003231/0.91, allocations: 0.634 MB / 1.28 GB, free: 14.22 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.819118424784392]