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.000798/0.000798, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001916, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009808/0.0009808, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001898, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9417/0.9417, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09059/1.032, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4741/2.371, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.693e-06/1.693e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.088e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001433/0.001453, allocations: 0.6974 MB / 0.73 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.002115, allocations: 0.851 MB / 0.7308 GB, free: 3.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.002148, allocations: 0 / 0.7308 GB, free: 3.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.002194, allocations: 3.938 kB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.105e-05/0.002215, allocations: 5.406 kB / 0.7308 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.314e-05/0.002279, allocations: 16.58 kB / 0.7309 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.002341, allocations: 20.81 kB / 0.7309 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.826e-05/0.002409, allocations: 7.984 kB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.002479, allocations: 23.52 kB / 0.7309 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.002526, allocations: 8.859 kB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.002542, allocations: 4 kB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.002553, allocations: 4 kB / 0.7309 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.002593, allocations: 7.047 kB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.002618, allocations: 5.531 kB / 0.7309 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.019e-05/0.002688, allocations: 22.66 kB / 0.731 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.002704, allocations: 0 / 0.731 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002704, allocations: 1.719 kB / 0.731 GB, free: 2.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.002719, allocations: 0 / 0.731 GB, free: 2.91 MB / 0.698 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.0003193/0.003039, allocations: 240.6 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.003065, allocations: 8.688 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.00309, allocations: 9.984 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.00319, allocations: 113.8 kB / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.003198, allocations: 384 / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.003205, allocations: 4.938 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.003299, allocations: 56.78 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003306, allocations: 192 / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.003311, allocations: 384 / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003317, allocations: 5.109 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.003333, allocations: 11.88 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.003525, allocations: 163.6 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.003562, allocations: 19.52 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.003577, allocations: 9.562 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.003583, allocations: 0.5 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.003607, allocations: 39.48 kB / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.003607, allocations: 0 / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.913e-05/0.003697, allocations: 35.08 kB / 0.7316 GB, free: 2.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.003722, allocations: 51.41 kB / 0.7317 GB, free: 2.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/0.003777, allocations: 114.8 kB / 0.7318 GB, free: 1.926 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.003784, allocations: 26.25 kB / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.003811, allocations: 80.8 kB / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.003827, allocations: 8.578 kB / 0.7319 GB, free: 1.805 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.003849, allocations: 13.72 kB / 0.7319 GB, free: 1.785 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.003919, allocations: 320.7 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.003928, allocations: 8.812 kB / 0.7322 GB, free: 1.457 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-06/0.003934, allocations: 0 / 0.7322 GB, free: 1.457 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.003953, allocations: 11.69 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003955, allocations: 1.031 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.374e-05/0.003988, allocations: 29.7 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.003999, allocations: 4.656 kB / 0.7323 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004004, allocations: 4.188 kB / 0.7323 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.004011, allocations: 4.859 kB / 0.7323 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.004066, allocations: 8.984 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.004068, allocations: 0.75 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.004082, allocations: 4 kB / 0.7323 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.004086, allocations: 4.625 kB / 0.7323 GB, free: 1.379 MB / 0.698 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.744e-05/0.004133, allocations: 118.5 kB / 0.7324 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.004143, allocations: 0 / 0.7324 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.004161, allocations: 11.08 kB / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004163, allocations: 0 / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004164, allocations: 0 / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.004166, allocations: 1.859 kB / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.999e-05/0.004236, allocations: 65.91 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004236, allocations: 0.5938 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.004251, allocations: 7.984 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-06/0.004255, allocations: 1.094 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.004256, allocations: 0 / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-06/0.004259, allocations: 0 / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00426, allocations: 4.562 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004261, allocations: 0.7188 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.943e-05/0.00432, allocations: 128.3 kB / 0.7326 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-06/0.004326, allocations: 0.5312 kB / 0.7326 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.628e-05/0.004353, allocations: 8.969 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.004377, allocations: 7.938 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.004379, allocations: 0 / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.369e-05/0.004393, allocations: 17.86 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004393, allocations: 0 / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001042/0.004497, allocations: 4.656 kB / 0.7327 GB, free: 0.9688 MB / 0.698 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.556e-05/0.004563, allocations: 78.73 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.655e-05/0.004609, allocations: 8.859 kB / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.004612, allocations: 0 / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.004624, allocations: 10.08 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.004759, allocations: 7.984 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.005093, allocations: 116.8 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.005122, allocations: 55.98 kB / 0.7329 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.728e-05/0.00514, allocations: 4.734 kB / 0.7329 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.005177, allocations: 51.38 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/0.005178, allocations: 1.594 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of Templates: time 0.00177/0.006947, allocations: 462.2 kB / 0.7334 GB, free: 152 kB / 0.698 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator/Buildings_12_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: 4.936060479842126]