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.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.001819/0.001819, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00193/0.00193, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.912/2.912, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 2.835e-06/2.835e-06, allocations: 4.812 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.323e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001938/0.001971, allocations: 0.6549 MB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003152, allocations: 0.8173 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.003191, allocations: 0 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.66e-05/0.003288, allocations: 4.875 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.578e-05/0.003313, allocations: 3.984 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.364e-05/0.003407, allocations: 12.61 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.003479, allocations: 27.86 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.003549, allocations: 9.344 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.003612, allocations: 11.98 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.003656, allocations: 11.98 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.003669, allocations: 1.219 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.003678, allocations: 4 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.003725, allocations: 11.94 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.003749, allocations: 3.984 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.676e-05/0.003835, allocations: 37.12 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003837, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003838, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003842, allocations: 1.656 kB / 0.7879 GB, free: 11.21 MB / 0.7448 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.0005123/0.004354, allocations: 368.2 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.004389, allocations: 8.031 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.004426, allocations: 4.938 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.004581, allocations: 121.4 kB / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004591, allocations: 384 / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004602, allocations: 4.375 kB / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.004745, allocations: 51.25 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.004753, allocations: 192 / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.004761, allocations: 1.656 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004767, allocations: 4.375 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.004866, allocations: 23.92 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.005253, allocations: 269.4 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.005356, allocations: 34.98 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.005418, allocations: 23.73 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.00543, allocations: 1.5 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.005467, allocations: 37.33 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.005468, allocations: 0 / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002664/0.005734, allocations: 60.42 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.005784, allocations: 55.34 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.00591, allocations: 161.9 kB / 0.7891 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.005927, allocations: 25.7 kB / 0.7891 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.006016, allocations: 142.8 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.006027, allocations: 0 / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.006065, allocations: 20.09 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.006332, allocations: 496.1 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.00638, allocations: 9.891 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.006416, allocations: 8 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.006505, allocations: 33.42 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006507, allocations: 0 / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001319/0.006639, allocations: 57.52 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.006652, allocations: 9.156 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.006655, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.006668, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.006732, allocations: 9.766 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006736, allocations: 3.938 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.006763, allocations: 4 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006768, allocations: 0 / 0.7899 GB, free: 9.008 MB / 0.7448 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 0.0001159/0.006884, allocations: 154.5 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.00691, allocations: 7.938 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.006932, allocations: 7.141 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.006933, allocations: 0 / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.006935, allocations: 0 / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.006938, allocations: 0 / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.007107, allocations: 125.3 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007108, allocations: 0.5312 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.007143, allocations: 4 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007145, allocations: 0.7188 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007153, allocations: 3.938 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.007154, allocations: 0.5312 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007155, allocations: 1.375 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.007376, allocations: 195.9 kB / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.007387, allocations: 8.516 kB / 0.7904 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.0074, allocations: 3.938 kB / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.007451, allocations: 1.375 kB / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.007488, allocations: 4 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.007491, allocations: 0 / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.174e-05/0.007572, allocations: 132.3 kB / 0.7905 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007572, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001996/0.007772, allocations: 11.89 kB / 0.7905 GB, free: 8.301 MB / 0.7448 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.0001217/0.007894, allocations: 96.56 kB / 0.7906 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.008057, allocations: 28.48 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008059, allocations: 0 / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.008122, allocations: 24.55 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.008357, allocations: 11.66 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.008673, allocations: 122.2 kB / 0.7908 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.009048, allocations: 59.34 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.009081, allocations: 4.688 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.009112, allocations: 9 kB / 0.7909 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.009113, allocations: 1.938 kB / 0.7909 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.003259/0.01237, allocations: 478.5 kB / 0.7913 GB, free: 7.441 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.024496666970663]