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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008477/0.0008481, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009681/0.0009682, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.848/2.848, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004463, allocations: 19.94 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8072, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007526/0.808, allocations: 313.4 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.8095, allocations: 1.202 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.8096, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.8096, allocations: 4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.8096, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.8099, allocations: 47.83 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.81, allocations: 3.938 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.81, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.8101, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.8101, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.8101, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.8104, allocations: 91.89 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.8104, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.8104, allocations: 29.69 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.8105, allocations: 35.95 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8105, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8105, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.8106, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 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.0003496/0.8109, allocations: 327.4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.811, allocations: 8.031 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.811, allocations: 3.906 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.8111, allocations: 159.1 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.8111, allocations: 7.938 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.8111, allocations: 4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.8112, allocations: 29.66 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.8112, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.8113, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8113, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.8113, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.8114, allocations: 149.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.775e-05/0.8115, allocations: 26.55 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.8115, allocations: 4.859 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005653/0.8121, allocations: 0.5662 MB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.8121, allocations: 34.52 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.8121, allocations: 4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.8123, allocations: 29.7 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.8123, allocations: 55.34 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.8123, allocations: 89.86 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.8124, allocations: 29.7 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.8124, allocations: 80.14 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.8124, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.8124, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8126, allocations: 323 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.8126, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.8126, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.8126, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8126, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.981e-05/0.8127, allocations: 29.7 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8127, allocations: 11.94 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8127, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.8127, allocations: 3.953 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.8128, allocations: 96 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8128, allocations: 11.92 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.8128, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.8128, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/0.8129, allocations: 109.8 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.8129, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.556e-05/0.813, allocations: 40.83 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.813, allocations: 15.91 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.813, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.813, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.968e-05/0.8131, allocations: 143.8 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8131, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.8132, allocations: 4 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8132, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.8132, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.8132, allocations: 4 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8132, allocations: 3.953 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.22e-05/0.8133, allocations: 69.06 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.8133, allocations: 81.09 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.8133, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.8133, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.8134, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.8134, allocations: 7.953 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.8134, allocations: 75.28 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8134, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002018/0.8136, allocations: 12.02 kB / 1.027 GB, free: 11.31 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.8138, allocations: 111.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.358e-05/0.8139, allocations: 11.94 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8139, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.8139, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.814, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.8142, allocations: 79.03 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.8144, allocations: 0.6731 MB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.8144, allocations: 4 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.8144, allocations: 7.438 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8145, allocations: 0 / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.002276/0.8167, allocations: 296.1 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) 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) Reference file matches