Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.9 MB, free: 3.184 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7634 GB, free: 15.16 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.108 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002672/1.059, allocations: 1.506 MB / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001086/1.06, allocations: 0.6565 MB / 1.275 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/1.06, allocations: 1.031 kB / 1.275 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/1.06, allocations: 5.25 kB / 1.275 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/1.06, allocations: 5.672 kB / 1.275 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/1.06, allocations: 82.12 kB / 1.275 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.714e-05/1.06, allocations: 34.64 kB / 1.275 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/1.06, allocations: 18.55 kB / 1.275 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/1.06, allocations: 19.91 kB / 1.275 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/1.06, allocations: 16.64 kB / 1.275 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/1.06, allocations: 6.719 kB / 1.275 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/1.061, allocations: 98.58 kB / 1.275 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/1.061, allocations: 9.172 kB / 1.275 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/1.061, allocations: 16.5 kB / 1.275 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/1.061, allocations: 83.28 kB / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.061, allocations: 0.875 kB / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.061, allocations: 0 / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/1.061, allocations: 4 kB / 1.275 GB, free: 6.262 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004068/1.061, allocations: 365.8 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.061, allocations: 9.375 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/1.061, allocations: 7.703 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/1.062, allocations: 173.3 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.062, allocations: 5.031 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/1.062, allocations: 7.062 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.062, allocations: 57.03 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.062, allocations: 4 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.062, allocations: 1.094 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.062, allocations: 0.8125 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/1.062, allocations: 30.27 kB / 1.276 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/1.062, allocations: 286.8 kB / 1.276 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.536e-05/1.062, allocations: 29.16 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/1.062, allocations: 17.47 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/1.063, allocations: 0.5608 MB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/1.063, allocations: 31.47 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.063, allocations: 0 / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002486/1.063, allocations: 66.8 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/1.063, allocations: 55.41 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/1.063, allocations: 120.2 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/1.063, allocations: 25.7 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/1.063, allocations: 87.94 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/1.063, allocations: 7.078 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/1.063, allocations: 15.75 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/1.063, allocations: 318 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/1.063, allocations: 15.83 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/1.063, allocations: 9.031 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/1.063, allocations: 24.44 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.063, allocations: 0 / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/1.063, allocations: 59.95 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.063, allocations: 5.875 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.063, allocations: 2.438 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.063, allocations: 4.875 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/1.064, allocations: 3.875 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/1.064, allocations: 0.7188 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/1.064, allocations: 7.359 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/1.064, allocations: 1.656 kB / 1.277 GB, free: 3.836 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.575e-05/1.064, allocations: 113.8 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/1.064, allocations: 10.14 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/1.064, allocations: 74.53 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.064, allocations: 4 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.064, allocations: 0.9375 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.064, allocations: 0 / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/1.064, allocations: 169.4 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.064, allocations: 0 / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/1.064, allocations: 10.41 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.064, allocations: 0.9688 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.064, allocations: 0.8438 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.064, allocations: 0.5625 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.064, allocations: 4.781 kB / 1.278 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/1.064, allocations: 152.2 kB / 1.278 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/1.064, allocations: 82.86 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/1.064, allocations: 1.344 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/1.064, allocations: 4.297 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/1.064, allocations: 0.9375 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.064, allocations: 12.7 kB / 1.278 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.779e-05/1.064, allocations: 100.5 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.064, allocations: 0.6562 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002314/1.065, allocations: 17.31 kB / 1.278 GB, free: 3.102 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0001551/1.065, allocations: 104 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000143/1.065, allocations: 23.19 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.065, allocations: 0 / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/1.065, allocations: 14.97 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/1.065, allocations: 6.594 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/1.065, allocations: 166.6 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/1.066, allocations: 0.6811 MB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.066, allocations: 13.02 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/1.066, allocations: 0 / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of Templates: time 0.002614/1.068, allocations: 0.7181 MB / 1.28 GB, free: 2.086 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches