Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00102/0.00102, allocations: 83.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.0009562/0.0009562, allocations: 165 kB / 23.82 MB, free: 0.7539 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.9983/0.9983, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.022e-05, allocations: 2.906 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001628/0.001659, allocations: 0.6639 MB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.002517, allocations: 0.8399 MB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.002577, allocations: 3.938 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.002703, allocations: 5.25 kB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.002738, allocations: 0 / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.002883, allocations: 11.92 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.002961, allocations: 28.61 kB / 0.8131 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.00306, allocations: 4.906 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.003125, allocations: 19.92 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.003179, allocations: 15.91 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.003196, allocations: 0.6562 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.003208, allocations: 4 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.003262, allocations: 4.625 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.003293, allocations: 9.25 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.003381, allocations: 19.91 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003383, allocations: 0 / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003384, allocations: 0 / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.00339, allocations: 6.188 kB / 0.8131 GB, free: 104 kB / 0.7605 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.000387/0.003777, allocations: 360.6 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.003821, allocations: 8.031 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.003856, allocations: 8.938 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.003985, allocations: 120.5 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003996, allocations: 1.156 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.004008, allocations: 4.375 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.004139, allocations: 60.36 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.004149, allocations: 192 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.004163, allocations: 384 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004171, allocations: 384 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.004197, allocations: 17.45 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.004487, allocations: 263.8 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.004529, allocations: 27 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.00455, allocations: 8.75 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-06/0.004559, allocations: 4.062 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.004583, allocations: 41.27 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.004584, allocations: 0.6562 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.004722, allocations: 38.81 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.004751, allocations: 51.41 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.004832, allocations: 165.9 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004843, allocations: 27.17 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.004893, allocations: 134.8 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.004907, allocations: 4 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.004932, allocations: 15.38 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.005056, allocations: 496.7 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.00507, allocations: 4.812 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.005078, allocations: 0.5312 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.005109, allocations: 16.5 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005111, allocations: 0 / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.331e-05/0.005164, allocations: 42.45 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.005179, allocations: 4 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.005184, allocations: 0.5312 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.005204, allocations: 9.312 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.005268, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.005275, allocations: 4 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.005294, allocations: 9.203 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.005299, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 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.19e-05/0.00536, allocations: 160.6 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.005376, allocations: 4.594 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.005398, allocations: 3.156 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.0054, allocations: 0.7188 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.005405, allocations: 4 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005408, allocations: 0.9062 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.005496, allocations: 116.6 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005497, allocations: 0.8438 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.005514, allocations: 4 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.005516, allocations: 1.344 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.005523, allocations: 3.938 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005523, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.005525, allocations: 3.984 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.005615, allocations: 184.4 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.005621, allocations: 8.547 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.005632, allocations: 9.719 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.005662, allocations: 3.984 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.005695, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.005698, allocations: 4 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.005733, allocations: 123.2 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005733, allocations: 0.875 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001403/0.005873, allocations: 4 kB / 0.8156 GB, free: 13.31 MB / 0.7761 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 9.12e-05/0.005965, allocations: 102.7 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.006051, allocations: 11.69 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006052, allocations: 0 / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.006069, allocations: 11.69 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.006275, allocations: 8.125 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.006562, allocations: 119 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.006598, allocations: 57.16 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.006622, allocations: 4 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.006652, allocations: 8.5 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.006653, allocations: 0 / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.002282/0.008935, allocations: 464.7 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.338779971003532]