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.00131/0.00131, allocations: 109.7 kB / 16.41 MB, free: 6.492 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.001427/0.001428, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.425/1.425, 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.236/2.236, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 71.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.717, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001416/0.7184, allocations: 0.5774 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.7196, allocations: 1.259 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.7196, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.7196, allocations: 4.781 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.7196, allocations: 0 / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.72, allocations: 64.33 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.692e-05/0.72, allocations: 2.234 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.72, allocations: 2.5 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.7201, allocations: 9.125 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.225e-05/0.7201, allocations: 0.6562 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.7201, allocations: 1.031 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.7203, allocations: 96.34 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.7203, allocations: 8.812 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.7204, allocations: 1.031 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.7205, allocations: 52.11 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7205, allocations: 1.375 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7205, allocations: 0 / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7205, allocations: 3.938 kB / 1.091 GB, free: 4.148 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.0002015/0.7207, allocations: 329.2 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.7207, allocations: 8.75 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.7208, allocations: 2.922 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.073e-05/0.7208, allocations: 160.9 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-06/0.7208, allocations: 5.469 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.7208, allocations: 1.078 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.866e-05/0.7209, allocations: 33.41 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.7209, allocations: 0 / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.7209, allocations: 0.5156 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.7209, allocations: 0 / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.721, allocations: 6.75 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.524e-05/0.721, allocations: 148.5 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.427e-05/0.7211, allocations: 20.73 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.7211, allocations: 10.92 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.7214, allocations: 0.558 MB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.7215, allocations: 40.14 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7215, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 9.915e-05/0.7216, allocations: 40.27 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.624e-05/0.7216, allocations: 52.2 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.325e-05/0.7216, allocations: 89.86 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-06/0.7216, allocations: 26.61 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-06/0.7216, allocations: 80.14 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.7217, allocations: 1.812 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.7217, allocations: 16.72 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.7217, allocations: 315 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.7217, allocations: 1.062 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.7217, allocations: 2.016 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/0.7218, allocations: 7.891 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7218, allocations: 1.094 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.895e-05/0.7218, allocations: 36.44 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.7218, allocations: 9.656 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.7218, allocations: 4 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.7218, allocations: 4.969 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.7219, allocations: 10.75 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.7219, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.7219, allocations: 0.6094 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.7219, allocations: 1.469 kB / 1.093 GB, free: 1.906 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 3.284e-05/0.722, allocations: 111.3 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.722, allocations: 5.266 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.722, allocations: 40.14 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.722, allocations: 1.312 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7221, allocations: 4.734 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.7221, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.14e-05/0.7221, allocations: 156.5 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7221, allocations: 0 / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.7221, allocations: 3.078 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7221, allocations: 3.938 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.7221, allocations: 1.828 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.7221, allocations: 0 / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7221, allocations: 0.5625 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.041e-05/0.7222, allocations: 57.84 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.7222, allocations: 78.14 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.7222, allocations: 5.547 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.7222, allocations: 0 / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.7223, allocations: 6.234 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.7223, allocations: 0 / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.067e-06/0.7223, allocations: 76.66 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7223, allocations: 4.031 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001813/0.7225, allocations: 5.281 kB / 1.093 GB, free: 1.293 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.0001105/0.7226, allocations: 115.1 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.045e-05/0.7226, allocations: 4.141 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7226, allocations: 1.219 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.7227, allocations: 2.766 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.7228, allocations: 4.984 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001147/0.7229, allocations: 101.3 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.723, allocations: 0.672 MB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.7231, allocations: 8 kB / 1.094 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/0.7231, allocations: 1.312 kB / 1.094 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.1241/0.8471, allocations: 449.4 kB / 1.094 GB, free: 16.33 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