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.0009506/0.0009506, 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.001787/0.001787, 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 1.068/1.068, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.914/1.914, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.275e-06/2.275e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.499e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001335/0.00136, allocations: 0.6682 MB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.002165, allocations: 0.8323 MB / 0.813 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.002215, allocations: 0 / 0.813 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.002325, allocations: 9.094 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.524e-05/0.00235, allocations: 4 kB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.002462, allocations: 11.92 kB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.002534, allocations: 29.36 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.002625, allocations: 0 / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.002688, allocations: 23.91 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.002735, allocations: 11.92 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.002789, allocations: 5.531 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-06/0.002795, allocations: 0 / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.002848, allocations: 8 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.002875, allocations: 8 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.98e-05/0.002955, allocations: 21.28 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.002958, allocations: 0 / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002958, allocations: 0 / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.002963, allocations: 0 / 0.8131 GB, free: 92 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.0003593/0.003322, allocations: 361.2 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.003363, allocations: 13.16 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.003396, allocations: 0.9375 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.003508, allocations: 124.6 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003517, allocations: 1 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.003524, allocations: 384 / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.003642, allocations: 64.86 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003649, allocations: 192 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.003658, allocations: 384 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.003665, allocations: 384 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.003688, allocations: 15.92 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.003973, allocations: 260.4 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.004018, allocations: 31.72 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.004039, allocations: 9.062 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.004046, allocations: 0 / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.00407, allocations: 41.39 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.00407, allocations: 0 / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.004199, allocations: 38.31 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.00423, allocations: 56.44 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.004306, allocations: 157.9 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004316, allocations: 33.7 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.004363, allocations: 135.6 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.004377, allocations: 0 / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.004403, allocations: 20.09 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.004516, allocations: 496.1 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.004528, allocations: 1.281 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.004537, allocations: 4 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.004562, allocations: 9.562 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004564, allocations: 0 / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.46e-05/0.004619, allocations: 45.58 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.004632, allocations: 4 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.00464, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.004653, allocations: 5.281 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.004714, allocations: 4 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.004719, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.004737, allocations: 12.89 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.004742, allocations: 256 / 0.815 GB, free: 13.99 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.01e-05/0.004802, allocations: 158.9 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.004817, allocations: 7.938 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.004835, allocations: 3.156 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.004838, allocations: 4 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.004842, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004844, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.347e-05/0.004927, allocations: 120.1 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.00493, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.004944, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.004948, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.004955, allocations: 3.938 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004956, allocations: 0 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.004958, allocations: 3.984 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.005046, allocations: 183.9 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-06/0.005052, allocations: 3.953 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.005062, allocations: 4.688 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.005091, allocations: 8.484 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.005123, allocations: 3.938 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005125, allocations: 0.5625 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.005158, allocations: 123.8 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005158, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001335/0.005292, allocations: 5.344 kB / 0.8156 GB, free: 13.3 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 8.026e-05/0.005372, allocations: 99.23 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.005451, allocations: 16.28 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005452, allocations: 0.8125 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.005467, allocations: 8.625 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.005647, allocations: 7.938 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.005902, allocations: 120.3 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.005938, allocations: 59.34 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.005957, allocations: 0 / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.005981, allocations: 16.38 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of SimCode: time 8.92e-07/0.005982, allocations: 0 / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.002123/0.008105, allocations: 484.4 kB / 0.8164 GB, free: 12.47 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.272707059048116]