Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 181.2 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.000831, allocations: 97 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003944, allocations: 11.75 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3166, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.5098, allocations: 149.5 MB / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004319/0.5103, allocations: 83.95 kB / 1.369 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009384/0.5197, allocations: 1.725 MB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5198, allocations: 0 / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5198, allocations: 4 kB / 1.371 GB, free: 10.75 MB / 0.8698 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.0003868/0.5202, allocations: 339.3 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5203, allocations: 8.031 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.5203, allocations: 4 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.5205, allocations: 171 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5205, allocations: 3.984 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.5205, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.5206, allocations: 25.7 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5207, allocations: 4 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5207, allocations: 4 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5207, allocations: 3.938 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.5208, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.521, allocations: 153.6 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.521, allocations: 22.55 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/0.5218, allocations: 0.5623 MB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5219, allocations: 34.56 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.853e-06/0.5219, allocations: 0 / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.000172/0.5221, allocations: 29.7 kB / 1.372 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5221, allocations: 59.39 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.5222, allocations: 85 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.5222, allocations: 25.7 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.5223, allocations: 80.27 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.5224, allocations: 11.91 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.5224, allocations: 3.938 kB / 1.372 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5226, allocations: 310.8 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.5226, allocations: 0 / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-06/0.5226, allocations: 4 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.5227, allocations: 3.953 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5227, allocations: 0 / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.907e-05/0.5228, allocations: 33.7 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5228, allocations: 8.094 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5228, allocations: 3.984 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5229, allocations: 0 / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.5229, allocations: 4 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5229, allocations: 0 / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.523, allocations: 0 / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.523, allocations: 0 / 1.373 GB, free: 8.445 MB / 0.8698 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 0.0001184/0.5231, allocations: 113.8 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.5231, allocations: 0 / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.5233, allocations: 48.75 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5233, allocations: 0 / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5233, allocations: 0 / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5233, allocations: 0 / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.5235, allocations: 145.6 kB / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5235, allocations: 3.953 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.5235, allocations: 4 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.5236, allocations: 7.922 kB / 1.373 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.5236, allocations: 4.031 kB / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.5236, allocations: 0 / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.5236, allocations: 0 / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.5237, allocations: 61.08 kB / 1.373 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.5238, allocations: 81.06 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.5238, allocations: 0 / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.5239, allocations: 3.984 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.5239, allocations: 4 kB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.5239, allocations: 4.031 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.524, allocations: 75.28 kB / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.524, allocations: 0 / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003433/0.5243, allocations: 15.94 kB / 1.373 GB, free: 7.781 MB / 0.8698 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.0002948/0.5246, allocations: 107 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.5247, allocations: 4 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5247, allocations: 0 / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.5248, allocations: 15.98 kB / 1.373 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.5249, allocations: 0 / 1.373 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.5252, allocations: 74.27 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.5256, allocations: 0.677 MB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.5257, allocations: 0 / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.5257, allocations: 7.438 kB / 1.374 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.5257, allocations: 4 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of Templates: time 0.003291/0.529, allocations: 268.1 kB / 1.374 GB, free: 6.574 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches