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.001187/0.001187, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009857/0.0009857, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.9/1.9, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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 1.393e-06/1.393e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.427e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001155/0.001169, allocations: 0.656 MB / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.001942, allocations: 0.8392 MB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.001979, allocations: 0.7812 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.623e-05/0.002055, allocations: 3.938 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 1.745e-05/0.002072, allocations: 0.875 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.928e-05/0.002152, allocations: 15.92 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.221e-05/0.002204, allocations: 24.7 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/0.002269, allocations: 7.984 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.002316, allocations: 13.62 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.002352, allocations: 11.98 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.002363, allocations: 0 / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.002369, allocations: 4 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.002404, allocations: 9.516 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.00242, allocations: 4 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 5.844e-05/0.002479, allocations: 27.84 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.00248, allocations: 0 / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002481, allocations: 0 / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.002484, allocations: 4.5 kB / 0.8144 GB, free: 15.82 MB / 0.7761 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.0002914/0.002775, allocations: 365.5 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.002805, allocations: 8.031 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.002827, allocations: 5.594 kB / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.002922, allocations: 120.5 kB / 0.8148 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.002929, allocations: 1.969 kB / 0.8148 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.002937, allocations: 8.375 kB / 0.8148 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.269e-05/0.003019, allocations: 54.95 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003027, allocations: 0.7188 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.003033, allocations: 384 / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.003037, allocations: 1.094 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.003054, allocations: 11.88 kB / 0.8149 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.003245, allocations: 241 kB / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.608e-05/0.003282, allocations: 24.69 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.003298, allocations: 19.67 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.003304, allocations: 3.938 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.003326, allocations: 33.98 kB / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.003326, allocations: 0 / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.323e-05/0.00342, allocations: 38.33 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.003447, allocations: 56.16 kB / 0.8153 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.003508, allocations: 161.9 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.003516, allocations: 26.8 kB / 0.8155 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.003562, allocations: 134.8 kB / 0.8156 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.003574, allocations: 0 / 0.8156 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.003603, allocations: 20.73 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.003721, allocations: 0.4884 MB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.003732, allocations: 7.938 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-06/0.00374, allocations: 1.75 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/0.003761, allocations: 11.69 kB / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.003762, allocations: 0 / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.894e-05/0.003811, allocations: 35.88 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.003822, allocations: 7.938 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.003827, allocations: 0 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.003836, allocations: 4 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.003884, allocations: 0 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.003888, allocations: 7.984 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.003902, allocations: 6.812 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.003906, allocations: 0 / 0.8162 GB, free: 13.75 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.259e-05/0.003969, allocations: 160.5 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.003983, allocations: 0 / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.003998, allocations: 7.094 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.004, allocations: 0 / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.004003, allocations: 4 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.004005, allocations: 1.5 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.004098, allocations: 105.2 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.004099, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.004113, allocations: 4.25 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004114, allocations: 0.625 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.004119, allocations: 4 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004119, allocations: 0.5625 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.004121, allocations: 8.438 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.004209, allocations: 180.5 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.004217, allocations: 7.938 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-06/0.004223, allocations: 1.344 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.004253, allocations: 4 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.004275, allocations: 11.86 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.004277, allocations: 2.562 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.004309, allocations: 127.2 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004309, allocations: 0 / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001297/0.004438, allocations: 4 kB / 0.8168 GB, free: 13.09 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 7.043e-05/0.004509, allocations: 99.23 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.355e-05/0.004562, allocations: 12.47 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.004563, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.004576, allocations: 8.656 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.004738, allocations: 11.36 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.004921, allocations: 122.3 kB / 0.817 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.004955, allocations: 60.19 kB / 0.8171 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.329e-05/0.004968, allocations: 0.7188 kB / 0.8171 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.005003, allocations: 70.2 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.005004, allocations: 3.812 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of Templates: time 0.001765/0.006769, allocations: 496.5 kB / 0.8176 GB, free: 12.18 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.096552376169711]