Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_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.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 160.7 MB / 1.214 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002113/0.3524, allocations: 0.6373 MB / 1.215 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3535, allocations: 0.8001 MB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.3535, allocations: 3.938 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.3536, allocations: 3.938 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.3537, allocations: 3.938 kB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.3538, allocations: 7.984 kB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.167e-05/0.3539, allocations: 31.92 kB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.354, allocations: 0 / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.354, allocations: 15.92 kB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.3541, allocations: 15.92 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3541, allocations: 4 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.3541, allocations: 0 / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.3542, allocations: 7.984 kB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.3542, allocations: 11.94 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.3543, allocations: 31.83 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3543, allocations: 3.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3543, allocations: 4 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3543, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 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.0005609/0.3549, allocations: 339.5 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3549, allocations: 12.03 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.355, allocations: 4.891 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3552, allocations: 176.3 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3552, allocations: 4.375 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3552, allocations: 4.375 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3554, allocations: 58.17 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3554, allocations: 192 / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3554, allocations: 7.938 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3554, allocations: 4 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.3556, allocations: 39.94 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.3561, allocations: 276.8 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3562, allocations: 34.5 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.3563, allocations: 24.89 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3563, allocations: 4 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3563, allocations: 30.56 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3563, allocations: 0 / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003672/0.3567, allocations: 73.66 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.3567, allocations: 59.33 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.3568, allocations: 101.9 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3568, allocations: 25.7 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.3569, allocations: 92.08 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.3569, allocations: 0 / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.357, allocations: 17.84 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3571, allocations: 314.8 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.3572, allocations: 19.92 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.3573, allocations: 11.98 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3574, allocations: 40.81 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3574, allocations: 8 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001927/0.3576, allocations: 65.59 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3576, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3576, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3576, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.3577, allocations: 4 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3577, allocations: 4 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.3578, allocations: 4.016 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3578, allocations: 8 kB / 1.217 GB, free: 13.29 MB / 0.9669 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 0.0001062/0.3579, allocations: 113.8 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.3579, allocations: 7.953 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.3579, allocations: 7.109 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3579, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3579, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.358, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3581, allocations: 161.6 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3581, allocations: 256 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.3582, allocations: 11.98 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3582, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3582, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3582, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3582, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3585, allocations: 171.4 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.3585, allocations: 81.05 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3585, allocations: 0 / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.3586, allocations: 7.984 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3586, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3586, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.3587, allocations: 83.27 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3587, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002098/0.3589, allocations: 4 kB / 1.218 GB, free: 12.55 MB / 0.9669 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 0.0001516/0.3591, allocations: 107.3 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3593, allocations: 27.97 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3593, allocations: 4 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.3594, allocations: 19.91 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3597, allocations: 9.656 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.36, allocations: 147.1 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.3604, allocations: 0.6806 MB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.3604, allocations: 15.44 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3604, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.002159/0.3626, allocations: 0.5728 MB / 1.22 GB, free: 10.91 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.76351075596176]