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.0008419/0.0008419, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008255/0.0008255, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.732/1.732, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|reaRep.y.2.|reaRep.y.3.",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.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.791e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001064/0.001081, allocations: 0.6532 MB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.001984, allocations: 0.8159 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.002023, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.268e-05/0.002106, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.821e-05/0.002124, allocations: 3.938 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.002227, allocations: 8 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.002296, allocations: 23.92 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.002384, allocations: 11.98 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.002434, allocations: 11.94 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.002482, allocations: 15.97 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.0025, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-06/0.002507, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.002554, allocations: 7.984 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.002577, allocations: 7.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.746e-05/0.002655, allocations: 31.89 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002656, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002657, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.00266, allocations: 4 kB / 1.002 GB, free: 11.39 MB / 0.9636 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.0003084/0.002969, allocations: 262.3 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.003001, allocations: 8.75 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.003024, allocations: 4.938 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.003129, allocations: 125.6 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.003137, allocations: 384 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.003146, allocations: 4.375 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.003272, allocations: 54.23 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.003279, allocations: 192 / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003287, allocations: 8.375 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.003292, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.003371, allocations: 39.89 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.003618, allocations: 220.5 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.00368, allocations: 30.56 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.00372, allocations: 20.91 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.003729, allocations: 4 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.003747, allocations: 34.5 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.003747, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001872/0.003934, allocations: 85.53 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.003961, allocations: 51.41 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.016e-05/0.004011, allocations: 105.8 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.004018, allocations: 25.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.00405, allocations: 84.27 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.004064, allocations: 3.953 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.004084, allocations: 13.72 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.004158, allocations: 322.8 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.004194, allocations: 11.98 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.004227, allocations: 19.98 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.004295, allocations: 36.88 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004297, allocations: 3.938 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.806e-05/0.004385, allocations: 61.61 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.004396, allocations: 8 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.0044, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.00441, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.004463, allocations: 7.984 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.004466, allocations: 0 / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.004487, allocations: 12.02 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004492, allocations: 0 / 1.004 GB, free: 9.578 MB / 0.9636 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 4.92e-05/0.004541, allocations: 113.8 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.004552, allocations: 7.875 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.439e-05/0.004566, allocations: 3.156 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004567, allocations: 0 / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.004571, allocations: 4 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.004573, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.817e-05/0.004651, allocations: 105.3 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004651, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.004671, allocations: 11.98 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.004673, allocations: 4.234 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.004679, allocations: 7.938 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.004681, allocations: 7.938 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004682, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.004791, allocations: 151.5 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004797, allocations: 7.953 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.004808, allocations: 7.938 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.004843, allocations: 12.02 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.004869, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.00487, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.004897, allocations: 83.27 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004897, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001413/0.005038, allocations: 4 kB / 1.005 GB, free: 8.996 MB / 0.9636 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 6.536e-05/0.005103, allocations: 99.19 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.005214, allocations: 39.91 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005216, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.005253, allocations: 19.97 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.005434, allocations: 6.234 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.005653, allocations: 143.2 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.005696, allocations: 63.34 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.005717, allocations: 8.5 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.005718, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of Templates: time 0.0013/0.007018, allocations: 0.5902 MB / 1.006 GB, free: 7.98 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.610758884809911]