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.001434/0.001434, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001695/0.001695, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.866/2.866, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8109 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.681e-05, allocations: 3.312 kB / 0.8109 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002895/0.002922, allocations: 0.6029 MB / 0.8114 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.006031, allocations: 1.277 MB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.006049, allocations: 0.9375 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.00606, allocations: 0 / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.006067, allocations: 1.156 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.006589, allocations: 71.67 kB / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.377e-05/0.006632, allocations: 4.672 kB / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.006671, allocations: 8 kB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.006698, allocations: 4.781 kB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.006745, allocations: 3.938 kB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.006757, allocations: 1.688 kB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.007195, allocations: 103.8 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-06/0.007204, allocations: 0 / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.007229, allocations: 4 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.007454, allocations: 77.36 kB / 0.813 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007456, allocations: 0 / 0.813 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007457, allocations: 0 / 0.813 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.00746, allocations: 0 / 0.813 GB, free: 14.76 MB / 0.7292 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.0004394/0.007899, allocations: 258.7 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.007946, allocations: 11.97 kB / 0.8132 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.007995, allocations: 2.531 kB / 0.8132 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.008123, allocations: 105.8 kB / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.008136, allocations: 384 / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.008144, allocations: 384 / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.008245, allocations: 31.12 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.008254, allocations: 192 / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.008263, allocations: 4.969 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.008273, allocations: 3.938 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.008295, allocations: 0.6875 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.008479, allocations: 101.3 kB / 0.8135 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.008535, allocations: 23.14 kB / 0.8135 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.008562, allocations: 5.859 kB / 0.8135 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/0.008988, allocations: 45.44 kB / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.009038, allocations: 34.55 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.00904, allocations: 1.75 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001831/0.009223, allocations: 33.7 kB / 0.8136 GB, free: 14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.009282, allocations: 59.28 kB / 0.8137 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.009362, allocations: 93.86 kB / 0.8137 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.009388, allocations: 26.64 kB / 0.8138 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.00945, allocations: 80.14 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.009474, allocations: 0 / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.009521, allocations: 14.31 kB / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.009753, allocations: 311.4 kB / 0.8142 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.009769, allocations: 3.984 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-06/0.009776, allocations: 4.562 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.009818, allocations: 13.55 kB / 0.8142 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00982, allocations: 1.25 kB / 0.8142 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.715e-05/0.009917, allocations: 33.64 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.009934, allocations: 6.562 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009939, allocations: 0 / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.00996, allocations: 4 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.575e-05/0.01001, allocations: 0 / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.01002, allocations: 3.938 kB / 0.8142 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.01003, allocations: 0 / 0.8142 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.01005, allocations: 11.98 kB / 0.8142 GB, free: 13.3 MB / 0.7292 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 0.0001124/0.01016, allocations: 110.3 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.01018, allocations: 0.7188 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.01031, allocations: 46.84 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01031, allocations: 0 / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01031, allocations: 0 / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.01032, allocations: 7.922 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.01046, allocations: 93.33 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01046, allocations: 0.8125 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.01049, allocations: 4 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01049, allocations: 4.875 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.0105, allocations: 0 / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.0105, allocations: 3.938 kB / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0105, allocations: 1.219 kB / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.01062, allocations: 65.06 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-06/0.01063, allocations: 0.8438 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01065, allocations: 7.984 kB / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.01066, allocations: 2.219 kB / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.01068, allocations: 0 / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.01068, allocations: 0 / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.01075, allocations: 83.25 kB / 0.8146 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01075, allocations: 0 / 0.8146 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003678/0.01112, allocations: 8 kB / 0.8147 GB, free: 12.81 MB / 0.7292 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.000239/0.01136, allocations: 114.1 kB / 0.8148 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.01144, allocations: 7.938 kB / 0.8148 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01144, allocations: 0 / 0.8148 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.01146, allocations: 11.98 kB / 0.8148 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01167, allocations: 0 / 0.8148 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.01193, allocations: 79.69 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.01201, allocations: 56.77 kB / 0.8149 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.01204, allocations: 0.625 kB / 0.8149 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.01207, allocations: 8.5 kB / 0.8149 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.01207, allocations: 1.062 kB / 0.8149 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.00383/0.0159, allocations: 416.8 kB / 0.8153 GB, free: 12.1 MB / 0.7292 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.682969050947577]