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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008075/0.008075, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.002025/0.002025, allocations: 197 kB / 16.68 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 71.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.339, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001738/0.3408, allocations: 0.5827 MB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3424, allocations: 1.256 MB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.3425, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.3425, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.3425, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3429, allocations: 59.75 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.3429, allocations: 4 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.343, allocations: 7.984 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.343, allocations: 0 / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.343, allocations: 0 / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.343, allocations: 3.984 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.3434, allocations: 103.8 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3434, allocations: 0 / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.3434, allocations: 7.984 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3436, allocations: 55.81 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3436, allocations: 0 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3436, allocations: 0 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3436, allocations: 0 / 1.169 GB, free: 4.68 MB / 0.92 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.000343/0.3439, allocations: 327.4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.344, allocations: 12.03 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.344, allocations: 0.9375 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3441, allocations: 168.4 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.3441, allocations: 384 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.3442, allocations: 384 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.3443, allocations: 34.02 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.3443, allocations: 0 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3443, allocations: 4 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3443, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.3443, allocations: 3.938 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.3445, allocations: 149.7 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.3445, allocations: 18.58 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.3445, allocations: 4.859 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.3451, allocations: 0.5662 MB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3451, allocations: 34.5 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3452, allocations: 3.938 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.3453, allocations: 41.59 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3453, allocations: 51.41 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.45e-05/0.3454, allocations: 93.86 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3454, allocations: 25.7 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.3454, allocations: 84.27 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3455, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.3455, allocations: 9.719 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3456, allocations: 322.8 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.3456, allocations: 0 / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.3456, allocations: 0 / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.3457, allocations: 8.859 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3457, allocations: 4.062 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.528e-05/0.3457, allocations: 33.64 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3458, allocations: 18.06 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3458, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3458, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.3458, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3459, allocations: 3.984 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.3459, allocations: 4 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.3459, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 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.817e-05/0.3459, allocations: 109.9 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.346, allocations: 7.938 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.3461, allocations: 40.77 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3461, allocations: 3.984 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3461, allocations: 3.984 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3461, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.003e-05/0.3462, allocations: 141.7 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3462, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.3462, allocations: 12.03 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3462, allocations: 3.938 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3462, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3462, allocations: 3.984 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3462, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.426e-05/0.3463, allocations: 61.12 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.3463, allocations: 77.11 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3464, allocations: 3.938 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-06/0.3464, allocations: 4.031 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.3464, allocations: 3.938 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3464, allocations: 4 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.3464, allocations: 75.28 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3464, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001856/0.3466, allocations: 15.86 kB / 1.171 GB, free: 1.668 MB / 0.92 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.0001768/0.3468, allocations: 107.2 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.3469, allocations: 8 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3469, allocations: 0 / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-06/0.3469, allocations: 4 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.3471, allocations: 0 / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.3473, allocations: 76.92 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3475, allocations: 0.6767 MB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.3475, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.3476, allocations: 15.5 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3476, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of Templates: time 0.00234/0.3499, allocations: 300.8 kB / 1.172 GB, free: 436 kB / 0.92 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