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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001813/0.001813, allocations: 195 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7684, allocations: 140.4 MB / 0.9491 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002134/0.7706, allocations: 0.6412 MB / 0.9497 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.7723, allocations: 1.242 MB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.7723, allocations: 1.375 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.7724, allocations: 0 / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.7724, allocations: 0 / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.7728, allocations: 57.17 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.7729, allocations: 1.594 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.773, allocations: 3.984 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.773, allocations: 1.469 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.773, allocations: 9.078 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.773, allocations: 4 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.7733, allocations: 99.59 kB / 0.9511 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.7733, allocations: 0 / 0.9511 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.7733, allocations: 3.984 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.7735, allocations: 56.84 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7735, allocations: 0 / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7735, allocations: 3.984 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7735, allocations: 0 / 0.9512 GB, free: 7.617 MB / 0.7169 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.0002312/0.7737, allocations: 318.8 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7738, allocations: 12.81 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.7738, allocations: 4.938 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.758e-05/0.7739, allocations: 166.2 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.7739, allocations: 384 / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.7739, allocations: 384 / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.082e-05/0.774, allocations: 40.28 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.774, allocations: 0 / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.774, allocations: 0 / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.774, allocations: 5.594 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.774, allocations: 1.188 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.151e-05/0.7741, allocations: 151 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.361e-05/0.7742, allocations: 19.83 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.7742, allocations: 6.234 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/0.7746, allocations: 0.5634 MB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.7747, allocations: 39.59 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7747, allocations: 0 / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.7748, allocations: 35.33 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.7748, allocations: 51.41 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.514e-05/0.7748, allocations: 91.48 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.7748, allocations: 25.7 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-06/0.7749, allocations: 80.14 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.7749, allocations: 3.906 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.7749, allocations: 16.84 kB / 0.9527 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.775, allocations: 318.8 kB / 0.9531 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.775, allocations: 5.25 kB / 0.9531 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.775, allocations: 5.688 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.775, allocations: 7.391 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.775, allocations: 0 / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.778e-05/0.7751, allocations: 31.14 kB / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7751, allocations: 13.09 kB / 0.9531 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7751, allocations: 0 / 0.9531 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.7751, allocations: 1.312 kB / 0.9531 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.7752, allocations: 9.359 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7752, allocations: 1.344 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.7752, allocations: 0 / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.7752, allocations: 0 / 0.9531 GB, free: 5.348 MB / 0.7169 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 4.852e-05/0.7753, allocations: 111 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.7753, allocations: 9.562 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.7754, allocations: 41.72 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7754, allocations: 0 / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7754, allocations: 1.531 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7754, allocations: 0 / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.157e-05/0.7755, allocations: 143 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.7755, allocations: 0 / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.7755, allocations: 2.969 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7755, allocations: 3.938 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7755, allocations: 0 / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7755, allocations: 4.031 kB / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7755, allocations: 1.219 kB / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.191e-05/0.7756, allocations: 62.69 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.7756, allocations: 80.27 kB / 0.9536 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.7756, allocations: 3.938 kB / 0.9536 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.7756, allocations: 1.438 kB / 0.9536 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.7757, allocations: 4 kB / 0.9536 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.7757, allocations: 9.078 kB / 0.9536 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.929e-05/0.7757, allocations: 75.28 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7757, allocations: 0 / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002089/0.7759, allocations: 9.781 kB / 0.9537 GB, free: 4.723 MB / 0.7169 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.0001683/0.7761, allocations: 106.4 kB / 0.9538 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.46e-05/0.7762, allocations: 8.438 kB / 0.9538 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7762, allocations: 0 / 0.9538 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/0.7762, allocations: 10 kB / 0.9538 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.7763, allocations: 5.422 kB / 0.9538 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.7765, allocations: 78.22 kB / 0.9539 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.7766, allocations: 0.674 MB / 0.9545 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.7767, allocations: 1.219 kB / 0.9545 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.7767, allocations: 8.75 kB / 0.9545 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7767, allocations: 0 / 0.9545 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.002108/0.7788, allocations: 307.9 kB / 0.9548 GB, free: 3.648 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches