Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_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_9_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.001083/0.001083, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001413/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6921, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001258/0.6934, allocations: 1.204 MB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008112/0.6942, allocations: 0.5942 MB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.6943, allocations: 5 kB / 0.9562 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.6943, allocations: 0 / 0.9562 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.6943, allocations: 5.125 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.6946, allocations: 59.19 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.6947, allocations: 31.61 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.6948, allocations: 13.36 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.6949, allocations: 18.45 kB / 0.9563 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.6949, allocations: 16.42 kB / 0.9563 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.6949, allocations: 0.8125 kB / 0.9563 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.6951, allocations: 95.17 kB / 0.9564 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.6951, allocations: 9.188 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.6951, allocations: 28.17 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.6952, allocations: 65.7 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6953, allocations: 0 / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6953, allocations: 0 / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.6953, allocations: 1.156 kB / 0.9565 GB, free: 6.059 MB / 0.7169 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.0003177/0.6956, allocations: 363.4 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6956, allocations: 9.75 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.6957, allocations: 6.109 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.6958, allocations: 169.2 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.6958, allocations: 2.188 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.6958, allocations: 2.094 kB / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.6959, allocations: 56.23 kB / 0.9571 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6959, allocations: 0 / 0.9571 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.696, allocations: 4 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.696, allocations: 5.328 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.6961, allocations: 38.67 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.6964, allocations: 279 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.6964, allocations: 38.19 kB / 0.9575 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.6965, allocations: 12.95 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.6968, allocations: 0.5632 MB / 0.958 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.6968, allocations: 39.45 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6968, allocations: 5.031 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002201/0.6971, allocations: 73.14 kB / 0.9581 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.6971, allocations: 55.41 kB / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.392e-05/0.6972, allocations: 117.9 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.6972, allocations: 25.7 kB / 0.9583 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.6972, allocations: 95 kB / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.6972, allocations: 4.844 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6972, allocations: 0 / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.6973, allocations: 317.2 kB / 0.9587 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.6973, allocations: 10.92 kB / 0.9587 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.6974, allocations: 11.41 kB / 0.9587 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.6974, allocations: 20.14 kB / 0.9588 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6974, allocations: 1.125 kB / 0.9588 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.6975, allocations: 67.69 kB / 0.9588 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6975, allocations: 12.61 kB / 0.9588 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6976, allocations: 1.031 kB / 0.9588 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.6976, allocations: 0 / 0.9588 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.6976, allocations: 8.984 kB / 0.9588 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.6977, allocations: 1.062 kB / 0.9588 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.6977, allocations: 7.531 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6977, allocations: 0 / 0.9589 GB, free: 3.562 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.6978, allocations: 112.1 kB / 0.959 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.6978, allocations: 2.344 kB / 0.959 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.6979, allocations: 73.56 kB / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.698, allocations: 5.406 kB / 0.959 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.698, allocations: 0 / 0.959 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.698, allocations: 1.438 kB / 0.959 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.6981, allocations: 169.3 kB / 0.9592 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6981, allocations: 3.984 kB / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.6981, allocations: 5.219 kB / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6982, allocations: 0 / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.6982, allocations: 1.531 kB / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6982, allocations: 3.953 kB / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6982, allocations: 0 / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.6983, allocations: 158.1 kB / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.6983, allocations: 82.95 kB / 0.9594 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.6983, allocations: 0 / 0.9594 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.6984, allocations: 1.906 kB / 0.9594 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.6984, allocations: 13.72 kB / 0.9595 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.6985, allocations: 6.062 kB / 0.9595 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.6985, allocations: 92.8 kB / 0.9596 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6985, allocations: 0 / 0.9596 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00023/0.6987, allocations: 9.188 kB / 0.9596 GB, free: 2.82 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.6989, allocations: 111.9 kB / 0.9597 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.699, allocations: 25.7 kB / 0.9597 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.699, allocations: 4.062 kB / 0.9597 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.699, allocations: 13.3 kB / 0.9597 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.6993, allocations: 6.359 kB / 0.9597 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.6995, allocations: 144.5 kB / 0.9599 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6996, allocations: 0.6854 MB / 0.9605 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.6997, allocations: 2.969 kB / 0.9605 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.6997, allocations: 8.938 kB / 0.9605 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6997, allocations: 0 / 0.9605 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.002162/0.7018, allocations: 446.5 kB / 0.961 GB, free: 1.625 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches