Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.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.001916/0.001916, allocations: 113.5 kB / 17.08 MB, free: 6 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.002094/0.002095, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.715/2.715, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 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.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 151.6 MB / 1.176 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002718/0.31, allocations: 1.495 MB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3111, allocations: 0.6475 MB / 1.178 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.3112, allocations: 4 kB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.3112, allocations: 3.938 kB / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.3113, allocations: 3.938 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.3116, allocations: 79.23 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.3117, allocations: 39.8 kB / 1.178 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.3118, allocations: 27.91 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.3119, allocations: 11.94 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.312, allocations: 19.92 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.312, allocations: 0 / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.3122, allocations: 107.9 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3122, allocations: 3.938 kB / 1.178 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.3123, allocations: 19.88 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3124, allocations: 79.77 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3125, allocations: 4 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3125, allocations: 0 / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3125, allocations: 0 / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00049/0.313, allocations: 371.1 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.313, allocations: 8.031 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.313, allocations: 8.891 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3132, allocations: 164.3 kB / 1.179 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3132, allocations: 4.375 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3132, allocations: 4.375 kB / 1.179 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3134, allocations: 69.95 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3134, allocations: 0 / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3134, allocations: 4 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3135, allocations: 3.938 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.3136, allocations: 23.98 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.314, allocations: 276.7 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.3141, allocations: 38.56 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.3141, allocations: 16.91 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.3147, allocations: 0.5544 MB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3148, allocations: 34.5 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3148, allocations: 0 / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002596/0.315, allocations: 73.62 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3151, allocations: 51.41 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3152, allocations: 125.8 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3152, allocations: 25.7 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.3153, allocations: 88.14 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3153, allocations: 11.89 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3154, allocations: 13.84 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3155, allocations: 326.8 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.3156, allocations: 8 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.3156, allocations: 7.984 kB / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.3157, allocations: 32.78 kB / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3157, allocations: 0 / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.3159, allocations: 61.7 kB / 1.181 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3159, allocations: 7.938 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3159, allocations: 0 / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3159, allocations: 0 / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.316, allocations: 7.984 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.316, allocations: 0 / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.316, allocations: 4 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.316, allocations: 0 / 1.181 GB, free: 0.5742 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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 8.841e-05/0.3161, allocations: 113.8 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3162, allocations: 11.98 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.3163, allocations: 65.14 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3164, allocations: 0 / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3164, allocations: 0 / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3164, allocations: 7.922 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3166, allocations: 169.6 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3166, allocations: 7.984 kB / 1.181 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.3166, allocations: 4 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3166, allocations: 0 / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3167, allocations: 4.031 kB / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3167, allocations: 0 / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3167, allocations: 4 kB / 1.181 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.3169, allocations: 155.4 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.3169, allocations: 81.06 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.317, allocations: 4 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.317, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.3171, allocations: 8.016 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.3171, allocations: 4 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.3172, allocations: 95.27 kB / 1.181 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 1.181 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000231/0.3174, allocations: 15.94 kB / 1.181 GB, free: 15.73 MB / 0.9356 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 (2): * Single equations (assignments): 2 * 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.000166/0.3176, allocations: 107.2 kB / 1.181 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.3177, allocations: 23.98 kB / 1.181 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3178, allocations: 4.062 kB / 1.181 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.3178, allocations: 15.92 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.318, allocations: 4 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.3184, allocations: 156.2 kB / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3187, allocations: 0.6846 MB / 1.182 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3188, allocations: 15.44 kB / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3188, allocations: 4.062 kB / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.002485/0.3213, allocations: 0.7092 MB / 1.183 GB, free: 13.95 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.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.109542682999745]