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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001245/0.001245, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.01024/0.01024, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 13.41 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007474/0.3165, allocations: 318.9 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3181, allocations: 1.264 MB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.1e-05/0.3181, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.3181, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.3181, allocations: 4 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3185, allocations: 43.89 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.3185, allocations: 4 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.3186, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.3186, allocations: 3.938 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.3187, allocations: 3.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.3187, allocations: 0 / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.3189, allocations: 107.8 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.319, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.319, allocations: 25.7 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3191, allocations: 55.94 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3192, allocations: 0 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3192, allocations: 4 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.3192, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 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.0003257/0.3195, allocations: 319.6 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3195, allocations: 8.031 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.3196, allocations: 0.9375 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.3197, allocations: 160.4 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.3197, allocations: 384 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3197, allocations: 8.375 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3198, allocations: 34.02 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3198, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.3198, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3198, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.3199, allocations: 11.92 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.32, allocations: 145.7 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.3201, allocations: 26.53 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.3201, allocations: 12.86 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.3207, allocations: 0.5623 MB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3207, allocations: 34.5 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.3207, allocations: 0 / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.3208, allocations: 37.77 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3209, allocations: 55.41 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.3209, allocations: 89.86 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.321, allocations: 29.7 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.321, allocations: 88.11 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.321, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.321, allocations: 9.719 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3212, allocations: 310.8 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.3212, allocations: 0 / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.3212, allocations: 8 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.3212, allocations: 8.859 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3212, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.466e-05/0.3213, allocations: 37.64 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3213, allocations: 7.938 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3213, allocations: 3.984 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.3213, allocations: 3.938 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-05/0.3214, allocations: 4 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3214, allocations: 96 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.3214, allocations: 4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3214, allocations: 0 / 1.062 GB, free: 1.238 MB / 0.8106 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 6.797e-05/0.3215, allocations: 107.4 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.3215, allocations: 7.938 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.3216, allocations: 40.81 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3216, allocations: 3.938 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3216, allocations: 4.031 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3216, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.3217, allocations: 145.7 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3217, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.3218, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3218, allocations: 3.938 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3218, allocations: 3.984 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3218, allocations: 7.938 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3218, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.274e-05/0.3219, allocations: 57.14 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.3219, allocations: 77.39 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3219, allocations: 7.938 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.3219, allocations: 3.984 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.3219, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.322, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.322, allocations: 75.28 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.763e-06/0.322, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001813/0.3222, allocations: 15.94 kB / 1.063 GB, free: 0.5898 MB / 0.8106 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.0001556/0.3223, allocations: 103.3 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.56e-05/0.3224, allocations: 4 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3224, allocations: 4 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/0.3224, allocations: 7.984 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.3226, allocations: 5.766 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001679/0.3227, allocations: 70.67 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3231, allocations: 0.6772 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.895e-05/0.3231, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/0.3232, allocations: 7.438 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3232, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.001984/0.3251, allocations: 296.5 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches