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.001804/0.001804, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002203/0.002203, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.901/2.901, allocations: 359 MB / 0.6048 GB, free: 10.95 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.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 2.475e-06/2.475e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.607e-05, allocations: 7.609 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002027/0.002063, allocations: 0.6723 MB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003397, allocations: 0.8479 MB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.003448, allocations: 0.75 kB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.003557, allocations: 3.938 kB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.003589, allocations: 13.17 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.003782, allocations: 23.86 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.262e-05/0.003875, allocations: 27.92 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.003971, allocations: 13.55 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.004048, allocations: 15.98 kB / 0.788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.00412, allocations: 15.92 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.004143, allocations: 4 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.004153, allocations: 1.219 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.004216, allocations: 15.97 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.004255, allocations: 8 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.004388, allocations: 39.81 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00439, allocations: 0.625 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004391, allocations: 1.406 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004395, allocations: 0 / 0.788 GB, free: 11.14 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.0005367/0.004932, allocations: 274.3 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.004972, allocations: 8.875 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.005026, allocations: 4.938 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.005222, allocations: 126.2 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.005245, allocations: 4.375 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.005268, allocations: 1.125 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.005501, allocations: 67.12 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.00551, allocations: 192 / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00552, allocations: 384 / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005526, allocations: 1.031 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.005736, allocations: 49.55 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.00615, allocations: 220.4 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.006328, allocations: 39.86 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.00644, allocations: 28.91 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.006462, allocations: 5.531 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.006495, allocations: 30.56 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.006496, allocations: 0 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004381/0.006934, allocations: 101.8 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.006983, allocations: 51.41 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.007099, allocations: 105.9 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.007128, allocations: 29.7 kB / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.007216, allocations: 92.08 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.007231, allocations: 0 / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.007423, allocations: 17.72 kB / 0.7892 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.007595, allocations: 310.8 kB / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.007703, allocations: 24.69 kB / 0.7896 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.007787, allocations: 12.52 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.007985, allocations: 50.47 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007986, allocations: 4 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002562/0.008242, allocations: 75.45 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.008258, allocations: 4 kB / 0.7897 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008263, allocations: 0 / 0.7897 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.008282, allocations: 1.156 kB / 0.7897 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.00839, allocations: 11.98 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.008396, allocations: 0 / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.008457, allocations: 8.922 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.008463, allocations: 0 / 0.7897 GB, free: 9.258 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 0.0001467/0.00861, allocations: 115.5 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.008641, allocations: 11.88 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.008664, allocations: 7.312 kB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008667, allocations: 0 / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.008672, allocations: 3.438 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.008674, allocations: 0 / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.008848, allocations: 117.2 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008849, allocations: 0 / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.008928, allocations: 11.98 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.008933, allocations: 3.938 kB / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.008941, allocations: 0 / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008942, allocations: 0 / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.008946, allocations: 3.984 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.009276, allocations: 165.8 kB / 0.7901 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.009287, allocations: 3.953 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.009305, allocations: 8.484 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.009394, allocations: 9.391 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.009449, allocations: 4 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.009453, allocations: 0 / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.769e-05/0.009521, allocations: 91.52 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009521, allocations: 0.5938 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002278/0.009748, allocations: 5.688 kB / 0.7903 GB, free: 8.66 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 0.0001285/0.009877, allocations: 103.2 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.01012, allocations: 40.86 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01012, allocations: 0.5312 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01023, allocations: 24.78 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01048, allocations: 12.88 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.01084, allocations: 120.5 kB / 0.7905 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.01091, allocations: 68.62 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.01097, allocations: 8.859 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.01101, allocations: 14.75 kB / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/0.01101, allocations: 4 kB / 0.7906 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.003418/0.01443, allocations: 0.6673 MB / 0.7913 GB, free: 7.582 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.915263732080348]