Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.001295/0.001295, allocations: 85.38 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001388/0.001388, allocations: 160.3 kB / 23.01 MB, free: 4.957 MB / 14.72 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 1.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.771/2.771, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 63.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8442, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001505/0.8457, allocations: 0.5887 MB / 1.155 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.847, allocations: 1.278 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.847, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.847, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-06/0.847, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.8474, allocations: 74.3 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.8475, allocations: 4 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.8475, allocations: 6.594 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.8476, allocations: 4 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.8476, allocations: 3.984 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.8476, allocations: 2.594 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.8479, allocations: 107.1 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.8479, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.8479, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.8481, allocations: 60.08 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8481, allocations: 2.688 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8481, allocations: 4 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8481, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 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.0002444/0.8483, allocations: 253.9 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.8484, allocations: 11.06 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.8484, allocations: 4.875 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.724e-05/0.8484, allocations: 105.2 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.8484, allocations: 384 / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.8485, allocations: 384 / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.936e-05/0.8485, allocations: 32.89 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8485, allocations: 0 / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.8485, allocations: 4 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.8485, allocations: 0 / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.8486, allocations: 6.812 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.339e-05/0.8486, allocations: 103.4 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.389e-05/0.8487, allocations: 14.58 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.8487, allocations: 7.859 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.849, allocations: 38.23 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.849, allocations: 37.19 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.849, allocations: 4 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001102/0.8491, allocations: 42.83 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/0.8491, allocations: 51.41 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.604e-05/0.8491, allocations: 93.09 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.8491, allocations: 29.64 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-06/0.8491, allocations: 80.14 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.8492, allocations: 6.734 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.8492, allocations: 9.719 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.8492, allocations: 313.3 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.8492, allocations: 128 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.8492, allocations: 6.938 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.8493, allocations: 11.52 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8493, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.889e-05/0.8493, allocations: 38.39 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.8493, allocations: 5.594 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.8493, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.8493, allocations: 3.938 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.581e-05/0.8494, allocations: 2.906 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.8494, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.8494, allocations: 4.094 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.8494, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 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 3.339e-05/0.8494, allocations: 112.7 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.8494, allocations: 3.938 kB / 1.157 GB, free: 30.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/0.8495, allocations: 45.92 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.8495, allocations: 0 / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.8495, allocations: 2.812 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.8495, allocations: 0 / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.237e-05/0.8495, allocations: 100.6 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8495, allocations: 0 / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.8495, allocations: 2.656 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.8495, allocations: 0 / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.8495, allocations: 2.531 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.8495, allocations: 3.938 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8495, allocations: 0 / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.339e-05/0.8496, allocations: 60.19 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-06/0.8496, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.8496, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.8496, allocations: 6.531 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-06/0.8496, allocations: 4.031 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.8496, allocations: 0 / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.769e-06/0.8496, allocations: 79.22 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.8496, allocations: 0 / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001923/0.8498, allocations: 15.09 kB / 1.158 GB, free: 30.16 MB / 1.076 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.000127/0.85, allocations: 122 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.772e-05/0.85, allocations: 5.656 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.85, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-06/0.85, allocations: 10.53 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.8501, allocations: 0 / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/0.8503, allocations: 78.75 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.272e-05/0.8503, allocations: 57.27 kB / 1.158 GB, free: 29.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.8503, allocations: 0 / 1.158 GB, free: 29.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.8503, allocations: 11.12 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.8503, allocations: 0 / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of Templates: time 0.002299/0.8526, allocations: 404 kB / 1.158 GB, free: 29.78 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.363361680065282]