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.00169/0.00169, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001778/0.001778, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.533/1.533, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.235/2.235, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9128, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002196/0.9151, allocations: 0.5863 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.917, allocations: 1.256 MB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.9171, allocations: 4 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.9171, allocations: 4.906 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-06/0.9171, allocations: 0 / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.9175, allocations: 65.05 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.9175, allocations: 1.672 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.9176, allocations: 1.703 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.9176, allocations: 0.8438 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.9176, allocations: 1.844 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.9177, allocations: 0 / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.9179, allocations: 100.3 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.918, allocations: 5.125 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.918, allocations: 0.5156 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.9181, allocations: 53.22 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9181, allocations: 0.7969 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9181, allocations: 0 / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9182, allocations: 0 / 1.091 GB, free: 4.141 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.0002606/0.9184, allocations: 329.1 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9185, allocations: 9.5 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.9185, allocations: 1.734 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.732e-05/0.9186, allocations: 165.7 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.9186, allocations: 1.172 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.9186, allocations: 1.312 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.609e-05/0.9187, allocations: 41.31 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.9187, allocations: 0 / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.9187, allocations: 1.094 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9187, allocations: 0 / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.9187, allocations: 2.562 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.931e-05/0.9188, allocations: 148.2 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.092e-05/0.9189, allocations: 20.8 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.9189, allocations: 10.75 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.9193, allocations: 0.5577 MB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.9193, allocations: 40.31 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.9193, allocations: 4 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000112/0.9194, allocations: 36.16 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.9195, allocations: 53.05 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.666e-05/0.9195, allocations: 89.86 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.9195, allocations: 25.7 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.131e-05/0.9195, allocations: 81.83 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.9195, allocations: 0 / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.9196, allocations: 12.53 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.9196, allocations: 316.6 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.9196, allocations: 0.7969 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.9196, allocations: 1.219 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.9197, allocations: 17.55 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9197, allocations: 0 / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.505e-05/0.9197, allocations: 32.56 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9197, allocations: 8.781 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.9197, allocations: 0 / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.9198, allocations: 5.531 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.9198, allocations: 2.484 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9198, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.9198, allocations: 4.969 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.9198, allocations: 0.7969 kB / 1.093 GB, free: 1.902 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 4.183e-05/0.9199, allocations: 108.6 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.9199, allocations: 7.922 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.92, allocations: 48.66 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.92, allocations: 0 / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.92, allocations: 2 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.92, allocations: 0 / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.9201, allocations: 152.2 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9201, allocations: 4.609 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.9201, allocations: 2.891 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9201, allocations: 3.938 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.9201, allocations: 1.125 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.9201, allocations: 0.5625 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9201, allocations: 1.125 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.1e-05/0.9202, allocations: 64.69 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.9202, allocations: 78.94 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.9202, allocations: 5.594 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-06/0.9202, allocations: 3.938 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.9202, allocations: 1.625 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.9203, allocations: 0 / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.197e-05/0.9203, allocations: 81.05 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9203, allocations: 0 / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001868/0.9205, allocations: 6.078 kB / 1.093 GB, free: 1.277 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.0001357/0.9206, allocations: 108.3 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.1e-05/0.9207, allocations: 9.172 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9207, allocations: 0 / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.9207, allocations: 6.094 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.9208, allocations: 6.625 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.921, allocations: 102.5 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.9212, allocations: 0.6716 MB / 1.094 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.9212, allocations: 7.438 kB / 1.094 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9212, allocations: 0.9688 kB / 1.094 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.001873/0.9231, allocations: 438.3 kB / 1.094 GB, free: 16.32 MB / 0.8731 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/jenkins1/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