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.001437/0.001437, allocations: 79.59 kB / 20.45 MB, free: 4.121 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.001398/0.001398, allocations: 165 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 1.019/1.019, 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.915/1.915, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.742e-05, allocations: 5.891 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00137/0.001398, allocations: 0.6645 MB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.002304, allocations: 0.8327 MB / 0.7886 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.002355, allocations: 3.938 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.002472, allocations: 5 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.798e-05/0.0025, allocations: 11.86 kB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.002647, allocations: 8.531 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.002728, allocations: 31.91 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.002828, allocations: 0.7188 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.002898, allocations: 11.98 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.002959, allocations: 12.73 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.002981, allocations: 4 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.002989, allocations: 1.094 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.00305, allocations: 11.94 kB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.00308, allocations: 7.984 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.696e-05/0.003177, allocations: 20.56 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.00318, allocations: 4.812 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00318, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.003185, allocations: 0 / 0.7887 GB, free: 10.88 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.0004012/0.003587, allocations: 369.4 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.003633, allocations: 9.562 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.003672, allocations: 4.938 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.003802, allocations: 116.6 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.003813, allocations: 384 / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.003827, allocations: 4.312 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.003975, allocations: 64.09 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.003985, allocations: 192 / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.003996, allocations: 0.9375 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.004005, allocations: 384 / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.004031, allocations: 10.72 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.004361, allocations: 259.9 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.004789, allocations: 31 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.004812, allocations: 7.688 kB / 0.7895 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.004822, allocations: 3.984 kB / 0.7895 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.004847, allocations: 41.39 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.004848, allocations: 1.438 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.004986, allocations: 33.64 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.005018, allocations: 51.41 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.005098, allocations: 170.5 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.005107, allocations: 25.7 kB / 0.7898 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.005153, allocations: 135.5 kB / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.005169, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.005196, allocations: 19.91 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.005307, allocations: 0.49 MB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.00532, allocations: 0 / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/0.005328, allocations: 4 kB / 0.7905 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.265e-05/0.00535, allocations: 8.312 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005353, allocations: 0 / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.303e-05/0.005406, allocations: 50.16 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.005419, allocations: 4.688 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005425, allocations: 0 / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.005441, allocations: 0.9688 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.00552, allocations: 7.984 kB / 0.7905 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.005525, allocations: 1.375 kB / 0.7905 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.005542, allocations: 7.938 kB / 0.7905 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.005547, allocations: 0 / 0.7905 GB, free: 8.777 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.01e-05/0.005607, allocations: 154.4 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.005623, allocations: 11.94 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.005647, allocations: 3.156 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005649, allocations: 0 / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005653, allocations: 0 / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005656, allocations: 1.656 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.00575, allocations: 120.6 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.00575, allocations: 0 / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.005765, allocations: 7.984 kB / 0.7908 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005766, allocations: 0 / 0.7908 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.005774, allocations: 4.812 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005774, allocations: 0 / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005775, allocations: 2.188 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.687e-05/0.005862, allocations: 179.9 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-06/0.005868, allocations: 3.953 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005879, allocations: 7.922 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.005907, allocations: 4.25 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.005947, allocations: 6.156 kB / 0.791 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.00595, allocations: 4 kB / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.005988, allocations: 127.2 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005988, allocations: 0 / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001331/0.006121, allocations: 4 kB / 0.7912 GB, free: 8.09 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 8.072e-05/0.006202, allocations: 95.75 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.006282, allocations: 14.12 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006284, allocations: 0 / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.006302, allocations: 19.62 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.006503, allocations: 3.938 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.006803, allocations: 128.8 kB / 0.7914 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.006841, allocations: 63.28 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.006859, allocations: 0 / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.006886, allocations: 12.5 kB / 0.7915 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.006886, allocations: 0 / 0.7915 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of Templates: time 0.002082/0.008968, allocations: 469.7 kB / 0.7919 GB, free: 7.262 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: 5.734514410607517]