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.0009278/0.0009278, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000915/0.000915, allocations: 161 kB / 23.82 MB, free: 0.75 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.8808/0.8808, allocations: 177.1 MB / 204.2 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.719/1.719, allocations: 359 MB / 0.6052 GB, free: 11.02 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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.367e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001227/0.001251, allocations: 0.6634 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.002044, allocations: 0.8368 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.002087, allocations: 0 / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.002186, allocations: 4.656 kB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.002211, allocations: 10.22 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.002331, allocations: 11.92 kB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.002416, allocations: 23.92 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.00251, allocations: 11.98 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.00257, allocations: 8 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.002619, allocations: 7.984 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.00264, allocations: 5.062 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.002646, allocations: 7.875 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.002696, allocations: 11.98 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.002721, allocations: 5.562 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.835e-05/0.002799, allocations: 23.91 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.002801, allocations: 0 / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002802, allocations: 0 / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002807, allocations: 1.25 kB / 0.7887 GB, free: 10.87 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.0003509/0.003158, allocations: 364.6 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.003196, allocations: 12.03 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.003229, allocations: 7.031 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.003345, allocations: 112.6 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.003356, allocations: 8.359 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.003365, allocations: 384 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.003486, allocations: 54.95 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.003493, allocations: 192 / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003502, allocations: 10.44 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.00351, allocations: 384 / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.003535, allocations: 11.94 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.003812, allocations: 259.8 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/0.003862, allocations: 31 kB / 0.7895 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.003881, allocations: 9.25 kB / 0.7895 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.003889, allocations: 0 / 0.7895 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.003936, allocations: 37.33 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.003938, allocations: 1.75 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.004072, allocations: 37.77 kB / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.004101, allocations: 51.41 kB / 0.7896 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.004178, allocations: 165.9 kB / 0.7898 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004189, allocations: 26.67 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.004236, allocations: 134.8 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.004254, allocations: 3.938 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.004284, allocations: 19.94 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.004402, allocations: 0.4941 MB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.004413, allocations: 0 / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-06/0.004421, allocations: 0 / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.004443, allocations: 11.69 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004445, allocations: 2.5 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.587e-05/0.004501, allocations: 37.59 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004513, allocations: 9.875 kB / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.004517, allocations: 0 / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.004528, allocations: 0 / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.00459, allocations: 11.92 kB / 0.7905 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.004594, allocations: 0.7188 kB / 0.7905 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.004613, allocations: 7.938 kB / 0.7905 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.00462, allocations: 4.531 kB / 0.7905 GB, free: 8.766 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 6.235e-05/0.004683, allocations: 154.2 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.004702, allocations: 3.938 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.004723, allocations: 11.14 kB / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004724, allocations: 0 / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.004727, allocations: 0.6562 kB / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.004729, allocations: 0 / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.004841, allocations: 113.8 kB / 0.7908 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.004843, allocations: 3.984 kB / 0.7908 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.00486, allocations: 4 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.004862, allocations: 1.156 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.004869, allocations: 3.938 kB / 0.7908 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00487, allocations: 4 kB / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004871, allocations: 1.375 kB / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.004971, allocations: 187.9 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.004979, allocations: 7.938 kB / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.00499, allocations: 4.781 kB / 0.791 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.005035, allocations: 4.25 kB / 0.791 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.005065, allocations: 0.8438 kB / 0.791 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005069, allocations: 4 kB / 0.791 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.005108, allocations: 128.5 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005108, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002037/0.005311, allocations: 4 kB / 0.7912 GB, free: 8.078 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 7.541e-05/0.005387, allocations: 100.1 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.12e-05/0.005458, allocations: 16.53 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00546, allocations: 0 / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.005475, allocations: 9.219 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.005705, allocations: 7.984 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.005964, allocations: 127.4 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.006001, allocations: 55.36 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.006022, allocations: 7.109 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.006047, allocations: 8.5 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.006048, allocations: 0 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.002171/0.008218, allocations: 493.2 kB / 0.7919 GB, free: 7.23 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.747128301300108]