Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001321/0.001321, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001442/0.001442, allocations: 156.1 kB / 23.01 MB, free: 4.602 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.915/2.915, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002119/0.002119, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8101, allocations: 181.8 MB / 1.187 GB, free: 16.15 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001548/0.8117, allocations: 0.5916 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.813, allocations: 1.286 MB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.8131, allocations: 1.375 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.8131, allocations: 0 / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.8131, allocations: 0 / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.8134, allocations: 78.33 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.524e-05/0.8135, allocations: 3.297 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.8135, allocations: 6.031 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.8135, allocations: 3.938 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.8135, allocations: 1.438 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.8135, allocations: 0.7812 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.8138, allocations: 105 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.8138, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.8139, allocations: 1.062 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.814, allocations: 59.86 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.814, allocations: 1.062 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.814, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.814, allocations: 4 kB / 1.189 GB, free: 14.78 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.0002198/0.8142, allocations: 250.1 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.8142, allocations: 9.969 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.8143, allocations: 1.734 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.467e-05/0.8143, allocations: 108.1 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.8143, allocations: 1.219 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.8143, allocations: 1.5 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.565e-05/0.8144, allocations: 45.3 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8144, allocations: 0 / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.8144, allocations: 0 / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8144, allocations: 1.828 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.8144, allocations: 4.719 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.442e-05/0.8145, allocations: 95.98 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.109e-05/0.8146, allocations: 17.42 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.198e-05/0.8146, allocations: 5.828 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/0.8149, allocations: 43.69 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8149, allocations: 39.56 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8149, allocations: 0 / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.815, allocations: 40.62 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.815, allocations: 52.97 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.317e-05/0.815, allocations: 89.86 kB / 1.189 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-06/0.815, allocations: 26.8 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-06/0.8151, allocations: 80.14 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.8151, allocations: 1.797 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.8151, allocations: 16.75 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.8151, allocations: 316.9 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.8151, allocations: 0 / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.8151, allocations: 1.406 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.8152, allocations: 17.64 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8152, allocations: 0 / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.256e-05/0.8152, allocations: 31.78 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8152, allocations: 7.812 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8152, allocations: 2.359 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.8152, allocations: 3.938 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.8153, allocations: 1.562 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.8153, allocations: 0.8906 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.8153, allocations: 1.438 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.8153, allocations: 4.031 kB / 1.19 GB, free: 13.43 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.508e-05/0.8153, allocations: 112 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.8153, allocations: 2.031 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.8154, allocations: 43.5 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8154, allocations: 1.969 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.8154, allocations: 4 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.8154, allocations: 3.938 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.295e-05/0.8155, allocations: 96.22 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8155, allocations: 4.031 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.8155, allocations: 2.953 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.8155, allocations: 0 / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.8155, allocations: 6.125 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8155, allocations: 3.938 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8155, allocations: 0 / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.775e-05/0.8155, allocations: 59.33 kB / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.8155, allocations: 5.984 kB / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-06/0.8155, allocations: 0 / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.8156, allocations: 5.828 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-06/0.8156, allocations: 4.594 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.8156, allocations: 5.219 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.277e-06/0.8156, allocations: 75.28 kB / 1.19 GB, free: 12.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8156, allocations: 0 / 1.19 GB, free: 12.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001985/0.8158, allocations: 13.27 kB / 1.19 GB, free: 12.97 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.0001201/0.8159, allocations: 108.1 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.908e-05/0.816, allocations: 4.703 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.816, allocations: 0 / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.816, allocations: 6.25 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.8161, allocations: 5.766 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001359/0.8162, allocations: 84.62 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.207e-05/0.8163, allocations: 56.42 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.8163, allocations: 1.094 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.8163, allocations: 9.594 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8163, allocations: 0 / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of Templates: time 0.002461/0.8187, allocations: 394.8 kB / 1.191 GB, free: 12.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.625171663006768]