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.006288/0.006288, allocations: 96.31 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.00107/0.00107, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.406/1.406, 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 9.1.3-maint.9.1.x/package.mo): time 2.59/2.59, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.06 kB / 0.9509 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3211, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001736/0.3229, allocations: 0.5804 MB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3246, allocations: 1.245 MB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.3246, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.3247, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.3247, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.3251, allocations: 71.73 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.3251, allocations: 7.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.3252, allocations: 3.984 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.3252, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.3253, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.3253, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.3255, allocations: 103.8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.3255, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.664e-05/0.3256, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3257, allocations: 51.88 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3257, allocations: 8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3257, allocations: 3.984 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3257, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 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.0003494/0.3261, allocations: 319.4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3261, allocations: 15.97 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.3262, allocations: 0.9375 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.3263, allocations: 165.8 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3263, allocations: 384 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3263, allocations: 384 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3264, allocations: 42.02 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3264, allocations: 3.938 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3264, allocations: 0 / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3265, allocations: 3.938 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.3265, allocations: 3.984 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3266, allocations: 149.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/0.3267, allocations: 14.58 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.3267, allocations: 12.86 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/0.3273, allocations: 0.5623 MB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3273, allocations: 34.5 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.3273, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.3275, allocations: 37.64 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3275, allocations: 51.53 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.3276, allocations: 93.86 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.3276, allocations: 29.7 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.3276, allocations: 80.14 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.3277, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.3277, allocations: 9.719 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3278, allocations: 314.8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.3278, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-06/0.3279, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.3279, allocations: 20.86 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3279, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.991e-05/0.328, allocations: 33.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.328, allocations: 11.94 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.328, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.328, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.3281, allocations: 3.984 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3281, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.3281, allocations: 3.953 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3281, allocations: 8.031 kB / 1.092 GB, free: 13.05 MB / 0.8575 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.398e-05/0.3282, allocations: 105.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.3282, allocations: 3.938 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3283, allocations: 44.75 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3283, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3283, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3283, allocations: 4.031 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.3284, allocations: 149.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3284, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.3285, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3285, allocations: 3.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3285, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3285, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3285, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.527e-05/0.3286, allocations: 65.12 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.3286, allocations: 77.11 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3286, allocations: 7.875 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.3286, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.3286, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3287, allocations: 7.984 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.3287, allocations: 75.28 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3287, allocations: 0 / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001887/0.3289, allocations: 7.938 kB / 1.092 GB, free: 12.4 MB / 0.8575 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.0001578/0.3291, allocations: 111.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.143e-05/0.3292, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3292, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.3292, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.3293, allocations: 9.547 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.3295, allocations: 80.23 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3298, allocations: 0.669 MB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.851e-05/0.3298, allocations: 8.125 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.3298, allocations: 7.438 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3298, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.002293/0.3321, allocations: 312.6 kB / 1.094 GB, free: 11.15 MB / 0.8575 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