Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001119/0.001119, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.00265, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007314/0.0007314, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009092/0.001641, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9248/0.9248, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.025, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.48/2.48, allocations: 446.7 MB / 0.6745 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2449/2.725, allocations: 145.9 MB / 0.817 GB, free: 4.246 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.74e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00164/0.001658, allocations: 0.6975 MB / 0.819 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009208/0.002578, allocations: 0.8508 MB / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.002614, allocations: 0 / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.002664, allocations: 3.938 kB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.002685, allocations: 0 / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.222e-05/0.002757, allocations: 11.98 kB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.00283, allocations: 23.94 kB / 0.8198 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.002912, allocations: 11.92 kB / 0.8199 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.194e-05/0.002994, allocations: 15.98 kB / 0.8199 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.003052, allocations: 15.97 kB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003072, allocations: 0 / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.003083, allocations: 4 kB / 0.8199 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.003127, allocations: 7.938 kB / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.003155, allocations: 4 kB / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.262e-05/0.003227, allocations: 15.92 kB / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.135e-05/0.003249, allocations: 0 / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003249, allocations: 0 / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.003266, allocations: 4 kB / 0.8199 GB, free: 1.258 MB / 0.7917 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.0003693/0.003635, allocations: 248.5 kB / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.00367, allocations: 8.031 kB / 0.8202 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.003698, allocations: 8.922 kB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.003808, allocations: 109.8 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.003818, allocations: 8.375 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.003825, allocations: 384 / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.003938, allocations: 50.95 kB / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003945, allocations: 192 / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.003955, allocations: 8.359 kB / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003963, allocations: 8.375 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.003984, allocations: 7.922 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.004218, allocations: 163 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.004258, allocations: 18.58 kB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.004275, allocations: 8.859 kB / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.004282, allocations: 0 / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.004307, allocations: 38.61 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.004308, allocations: 3.938 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.004417, allocations: 33.64 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.00445, allocations: 55.53 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.00451, allocations: 110.7 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.00452, allocations: 25.7 kB / 0.8208 GB, free: 232 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.004553, allocations: 88.14 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.004569, allocations: 7.891 kB / 0.8209 GB, free: 132 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.004601, allocations: 17.7 kB / 0.8209 GB, free: 108 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.004701, allocations: 314.8 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.004712, allocations: 4 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.004719, allocations: 0 / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.004745, allocations: 15.69 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.004747, allocations: 4 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.619e-05/0.004794, allocations: 29.7 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.004808, allocations: 4 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.004813, allocations: 3.938 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.004821, allocations: 0 / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.004883, allocations: 7.984 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.004885, allocations: 0 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.004905, allocations: 4 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.004909, allocations: 0 / 0.8213 GB, free: 15.71 MB / 0.8073 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 5.814e-05/0.004967, allocations: 116.7 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.004984, allocations: 0 / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.005005, allocations: 15.08 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005006, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005007, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.00501, allocations: 3.938 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.005114, allocations: 69.89 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.005116, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.005142, allocations: 7.984 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.005147, allocations: 0 / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005149, allocations: 0 / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-06/0.005153, allocations: 4 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.005155, allocations: 3.938 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.005156, allocations: 0 / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.714e-05/0.005243, allocations: 127.5 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-06/0.005252, allocations: 256 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.005304, allocations: 8 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.005331, allocations: 3.938 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.005333, allocations: 0 / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.688e-05/0.00535, allocations: 16.84 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.00535, allocations: 3.938 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001696/0.00552, allocations: 8.031 kB / 0.8216 GB, free: 15.28 MB / 0.8073 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.303e-05/0.005603, allocations: 80.36 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.116e-05/0.005664, allocations: 8.859 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.005669, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.005683, allocations: 8.859 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.005866, allocations: 7.984 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.006276, allocations: 123.5 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.006315, allocations: 55.36 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.006335, allocations: 3.984 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.006378, allocations: 51.38 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.006379, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.002325/0.008704, allocations: 456.1 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.ref.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.27907036524266]