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.349/2.349, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001247/0.001247, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.682/1.682, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001166/0.001166, allocations: 97.75 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.987e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2984, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9204/1.219, allocations: 149.5 MB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.219, allocations: 83.25 kB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00595/1.225, allocations: 1.713 MB / 1.36 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.544e-06/1.225, allocations: 5.312 kB / 1.36 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.291e-06/1.225, allocations: 0 / 1.36 GB, free: 34.67 MB / 0.8386 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.0002337/1.226, allocations: 329.9 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.226, allocations: 11.56 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/1.226, allocations: 0 / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/1.226, allocations: 164.2 kB / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.226, allocations: 0 / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/1.226, allocations: 3.938 kB / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/1.226, allocations: 31.22 kB / 1.361 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.226, allocations: 7.938 kB / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/1.226, allocations: 3.938 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.226, allocations: 0 / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/1.226, allocations: 0 / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/1.226, allocations: 150.8 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.721e-05/1.226, allocations: 14.58 kB / 1.361 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/1.226, allocations: 14.95 kB / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/1.227, allocations: 0.5592 MB / 1.361 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/1.227, allocations: 32.48 kB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.227, allocations: 0 / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000127/1.227, allocations: 37.39 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/1.227, allocations: 51.41 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.283e-05/1.227, allocations: 85 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/1.227, allocations: 29.73 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.748e-05/1.227, allocations: 85.61 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/1.227, allocations: 0.625 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/1.227, allocations: 0 / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/1.227, allocations: 310.8 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-06/1.227, allocations: 0 / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/1.227, allocations: 3.844 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/1.227, allocations: 1.594 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.227, allocations: 4.016 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.53e-05/1.227, allocations: 44.67 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.227, allocations: 5.469 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.227, allocations: 3.984 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.227, allocations: 0 / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/1.227, allocations: 3.906 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.227, allocations: 0 / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/1.227, allocations: 0 / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.227, allocations: 6 kB / 1.362 GB, free: 32.48 MB / 0.8386 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 () * 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 7.164e-05/1.227, allocations: 106 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.227, allocations: 7.859 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/1.227, allocations: 38.73 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.227, allocations: 6 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.227, allocations: 0 / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.227, allocations: 0 / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.998e-05/1.228, allocations: 147 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.228, allocations: 7.812 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/1.228, allocations: 3.953 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/1.228, allocations: 4.031 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/1.228, allocations: 0 / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/1.228, allocations: 2.562 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.228, allocations: 3.844 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.171e-05/1.228, allocations: 53.19 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/1.228, allocations: 78.47 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/1.228, allocations: 7.797 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/1.228, allocations: 4.031 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/1.228, allocations: 1.359 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.228, allocations: 0 / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.183e-05/1.228, allocations: 75.28 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.154e-06/1.228, allocations: 0 / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002052/1.228, allocations: 15.69 kB / 1.363 GB, free: 31.88 MB / 0.8386 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 () * 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.0002054/1.228, allocations: 113.6 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.57e-05/1.228, allocations: 3.812 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.228, allocations: 4.062 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/1.228, allocations: 0 / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.817e-05/1.229, allocations: 5.141 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/1.229, allocations: 46.11 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/1.229, allocations: 0.6704 MB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.518e-05/1.229, allocations: 3.875 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/1.229, allocations: 12.95 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.229, allocations: 0 / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.002153/1.231, allocations: 279.9 kB / 1.364 GB, free: 30.97 MB / 0.8386 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