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.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.000992/0.000992, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009722/0.0009722, allocations: 173 kB / 24.28 MB, free: 272 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 1.072/1.072, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.855/1.855, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.202e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001461/0.001493, allocations: 0.6791 MB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008639/0.002357, allocations: 0.8757 MB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.002398, allocations: 5 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.345e-05/0.002482, allocations: 3.938 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.21e-05/0.002504, allocations: 4 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.002657, allocations: 20.77 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.002731, allocations: 27.92 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.002821, allocations: 24.64 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.002885, allocations: 23.92 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.002943, allocations: 8.734 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.002963, allocations: 4 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.002971, allocations: 0.5625 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.003019, allocations: 13.23 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.003048, allocations: 15.92 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.27e-05/0.003141, allocations: 23.97 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003143, allocations: 0 / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003144, allocations: 5.375 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003148, allocations: 0 / 0.7888 GB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003398/0.003488, allocations: 368.6 kB / 0.7891 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.003524, allocations: 13.23 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.003557, allocations: 8.875 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.003669, allocations: 112.6 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.003687, allocations: 4.375 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.003696, allocations: 5 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.003839, allocations: 68.33 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.003844, allocations: 192 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.003853, allocations: 384 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.003859, allocations: 4.375 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.003898, allocations: 16.83 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.00419, allocations: 276.5 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.633e-05/0.004246, allocations: 31.06 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.004274, allocations: 12.78 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.00429, allocations: 7.875 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.004319, allocations: 37.92 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.004322, allocations: 0 / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.004489, allocations: 42.91 kB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.004519, allocations: 55.41 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.004596, allocations: 165 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.004605, allocations: 25.7 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.004653, allocations: 138.8 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.004666, allocations: 0 / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.004694, allocations: 23.36 kB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.004802, allocations: 496.1 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.004823, allocations: 7.938 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.004835, allocations: 4 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.004872, allocations: 22.05 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004874, allocations: 0 / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.249e-05/0.004936, allocations: 49.53 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.00495, allocations: 4 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004954, allocations: 1.188 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.004964, allocations: 0 / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.00505, allocations: 7.984 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005055, allocations: 1.594 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.005075, allocations: 7.938 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.005079, allocations: 0 / 0.7907 GB, free: 8.898 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: 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 7.603e-05/0.005155, allocations: 162.3 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.005172, allocations: 7.922 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.005193, allocations: 3.312 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005195, allocations: 4 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.005198, allocations: 0 / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.0052, allocations: 0.9062 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.005294, allocations: 116.9 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.005296, allocations: 4.531 kB / 0.791 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.005322, allocations: 8 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.005325, allocations: 4.562 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.005333, allocations: 4.516 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005333, allocations: 0 / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005334, allocations: 1.281 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.005528, allocations: 191.8 kB / 0.7912 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.005536, allocations: 8.516 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.005548, allocations: 3.938 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.005582, allocations: 1.375 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.005627, allocations: 11.98 kB / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.005631, allocations: 0 / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.005666, allocations: 128.3 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005666, allocations: 0 / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001386/0.005804, allocations: 4 kB / 0.7914 GB, free: 8.188 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: 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 9.145e-05/0.005896, allocations: 100.3 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.005984, allocations: 17.44 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005985, allocations: 0 / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.006007, allocations: 15.69 kB / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.006193, allocations: 19.33 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.006466, allocations: 130.1 kB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.006498, allocations: 56.23 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.006524, allocations: 6.109 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.006556, allocations: 12.5 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.006557, allocations: 0 / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of Templates: time 0.002315/0.008872, allocations: 0.6693 MB / 0.7923 GB, free: 7.137 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] 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","",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.199356838129461]