Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.001424/0.001424, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001456/0.001456, allocations: 186 kB / 20.78 MB, free: 1.547 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.456/1.456, allocations: 225.6 MB / 249.4 MB, free: 3.133 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.579/2.579, allocations: 443.5 MB / 0.7304 GB, free: 13.85 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.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.88 kB / 1.059 GB, free: 268 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 160.7 MB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001875/0.3278, allocations: 0.5954 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3297, allocations: 1.265 MB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.3297, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.3297, allocations: 4 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-06/0.3297, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3301, allocations: 59.75 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.97e-05/0.3301, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.3302, allocations: 4 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.3302, allocations: 0 / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.3302, allocations: 0 / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.3302, allocations: 0 / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.3305, allocations: 107.8 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.3305, allocations: 3.984 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.3305, allocations: 7.984 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3306, allocations: 51.83 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3306, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3306, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3307, allocations: 0 / 1.218 GB, free: 13.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000352/0.331, allocations: 323.4 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.331, allocations: 12.03 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.3311, allocations: 0.9375 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3312, allocations: 164.4 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3312, allocations: 4.375 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.3312, allocations: 384 / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3313, allocations: 38.02 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3313, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3314, allocations: 4 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3314, allocations: 7.875 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.3314, allocations: 3.984 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.3315, allocations: 145.7 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.3316, allocations: 18.58 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.3316, allocations: 8.859 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.3322, allocations: 0.5623 MB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.3323, allocations: 34.5 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3323, allocations: 0 / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.3324, allocations: 45.59 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3325, allocations: 51.41 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.3325, allocations: 93.84 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3325, allocations: 25.7 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.3326, allocations: 84.14 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.3326, allocations: 0 / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3326, allocations: 9.719 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3328, allocations: 310.8 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.3328, allocations: 8.125 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.3328, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.3328, allocations: 16.8 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3328, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.928e-05/0.3329, allocations: 37.62 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3329, allocations: 7.938 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3329, allocations: 7.984 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3329, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.164e-05/0.333, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.333, allocations: 4.094 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.333, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.333, allocations: 4 kB / 1.22 GB, free: 10.77 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 7.473e-05/0.3331, allocations: 105.8 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.3331, allocations: 3.938 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.3332, allocations: 44.75 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3332, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3332, allocations: 8.031 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3332, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3333, allocations: 141.7 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3333, allocations: 0 / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.3333, allocations: 7.984 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3333, allocations: 3.938 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3333, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3333, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3333, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.803e-05/0.3334, allocations: 61.14 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.3335, allocations: 81.05 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3335, allocations: 11.86 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.3335, allocations: 4 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.3335, allocations: 0 / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3335, allocations: 0 / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.3335, allocations: 75.28 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3335, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001961/0.3337, allocations: 11.97 kB / 1.221 GB, free: 10.11 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.0001587/0.3339, allocations: 107.2 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.334, allocations: 11.98 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.334, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.334, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.3341, allocations: 5.719 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.3343, allocations: 100.7 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3346, allocations: 0.673 MB / 1.222 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.3346, allocations: 7.969 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.3347, allocations: 11.44 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3347, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of Templates: time 0.002544/0.3372, allocations: 300.8 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: 7.95488580968231]