Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 112.3 kB / 16.41 MB, free: 6.504 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.0013/0.0013, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.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.484/2.484, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7906/0.7919, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002384/0.7943, allocations: 1.498 MB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.7953, allocations: 0.6537 MB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.7953, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.7954, allocations: 3.938 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.7954, allocations: 7.938 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.7958, allocations: 71.73 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.7959, allocations: 39.86 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.796, allocations: 19.97 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.796, allocations: 15.94 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.7961, allocations: 15.92 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.7961, allocations: 4 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.7963, allocations: 99.89 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.7963, allocations: 15.92 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.7963, allocations: 19.88 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.7965, allocations: 88.27 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7965, allocations: 0 / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7965, allocations: 0 / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7965, allocations: 0 / 1.17 GB, free: 1.289 MB / 0.8887 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.0004064/0.7969, allocations: 363.2 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.797, allocations: 12.62 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.797, allocations: 8.828 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7971, allocations: 168.4 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.7972, allocations: 384 / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.7972, allocations: 8.375 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.7973, allocations: 57.98 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7974, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7974, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7974, allocations: 7.938 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.7975, allocations: 23.98 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.7978, allocations: 284.7 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.7979, allocations: 34.56 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.798, allocations: 16.91 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/0.7984, allocations: 0.5583 MB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.7985, allocations: 30.56 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.7985, allocations: 7.938 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000229/0.7987, allocations: 73.56 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.7988, allocations: 51.41 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.7989, allocations: 122.2 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.7989, allocations: 25.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.7989, allocations: 84.14 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.7989, allocations: 7.953 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.799, allocations: 17.84 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7991, allocations: 322.8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.7991, allocations: 8 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.7992, allocations: 11.98 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.7993, allocations: 28.78 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7993, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.7994, allocations: 61.7 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7994, allocations: 6.5 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7994, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.7994, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.7995, allocations: 7.984 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.7995, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.7996, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.7996, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 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 7.185e-05/0.7996, allocations: 109.8 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.7997, allocations: 11.98 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.7999, allocations: 65.14 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7999, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7999, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7999, allocations: 7.922 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.8001, allocations: 173.6 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8001, allocations: 3.984 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.8001, allocations: 8 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8001, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8001, allocations: 4.031 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8001, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8001, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.8003, allocations: 159.4 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.8004, allocations: 81.06 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.8004, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.8004, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.8005, allocations: 8.016 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8005, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.069e-05/0.8005, allocations: 99.31 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8006, allocations: 0 / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002282/0.8008, allocations: 19.88 kB / 1.173 GB, free: 13.71 MB / 0.9044 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.0001396/0.8009, allocations: 108.9 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.8011, allocations: 27.98 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8011, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.8011, allocations: 15.92 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.8013, allocations: 4 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.8016, allocations: 156.2 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.8019, allocations: 0.6846 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.8019, allocations: 7.438 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.8019, allocations: 4.125 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.001941/0.8039, allocations: 0.7185 MB / 1.175 GB, free: 11.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches