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.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.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.001636/0.001636, allocations: 105 kB / 16.41 MB, free: 6.465 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.001553/0.001553, allocations: 187 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 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.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8917/0.8931, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003103/0.8962, allocations: 1.49 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.8975, allocations: 0.655 MB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.8976, allocations: 0.9375 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.8976, allocations: 4.969 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.8977, allocations: 9.031 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.8981, allocations: 79.58 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.177e-05/0.8982, allocations: 38.17 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.8983, allocations: 16.86 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.8984, allocations: 16.42 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.8985, allocations: 15.66 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.8985, allocations: 3.438 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.8988, allocations: 98.28 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.8988, allocations: 19.19 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.8989, allocations: 16.92 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.8991, allocations: 81.28 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8991, allocations: 1.062 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8991, allocations: 0 / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8991, allocations: 0 / 1.091 GB, free: 3.852 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000401/0.8995, allocations: 368.2 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.8996, allocations: 8.719 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.8996, allocations: 8.438 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.8997, allocations: 184.9 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.8997, allocations: 1.562 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.8997, allocations: 6.094 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.8999, allocations: 53 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8999, allocations: 4.453 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.8999, allocations: 5.125 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9, allocations: 0.8125 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.9001, allocations: 24.14 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.9004, allocations: 279.8 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.9006, allocations: 34.86 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.9006, allocations: 17.3 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.901, allocations: 0.5558 MB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.901, allocations: 36.05 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.9011, allocations: 0 / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002767/0.9013, allocations: 63.47 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.9014, allocations: 51.41 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.9015, allocations: 127.8 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.9015, allocations: 29.64 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.9015, allocations: 92.17 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.9015, allocations: 5.641 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.9016, allocations: 17.31 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.9016, allocations: 318.7 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.9017, allocations: 11.09 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.9018, allocations: 7.922 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.9019, allocations: 29.53 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9019, allocations: 4 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001522/0.9021, allocations: 56.27 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9021, allocations: 5.609 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9021, allocations: 0.8438 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9021, allocations: 4.5 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.9022, allocations: 10.7 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9022, allocations: 0 / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.9023, allocations: 7.078 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.9023, allocations: 1.359 kB / 1.093 GB, free: 1.418 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 (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 5.603e-05/0.9024, allocations: 116.7 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.9024, allocations: 2.875 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.9026, allocations: 62.52 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.9026, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9026, allocations: 1.281 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9026, allocations: 4.734 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.9028, allocations: 172.8 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9028, allocations: 4.031 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.9029, allocations: 6.781 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.9029, allocations: 0.8125 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.9029, allocations: 4.734 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9029, allocations: 0.8438 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.9029, allocations: 0 / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.9031, allocations: 152.9 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.9031, allocations: 91.08 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.9032, allocations: 1.609 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.9033, allocations: 6.328 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.9033, allocations: 2.422 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.9033, allocations: 1.234 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.9034, allocations: 93.17 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9034, allocations: 0 / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003668/0.9038, allocations: 17.98 kB / 1.094 GB, free: 0.6992 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 (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.000146/0.9039, allocations: 114.6 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.9041, allocations: 26.97 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9041, allocations: 0 / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.9042, allocations: 10.08 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.9045, allocations: 5.938 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.9048, allocations: 147.1 kB / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.9051, allocations: 0.6861 MB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.9051, allocations: 9.797 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.9051, allocations: 0 / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.002746/0.9079, allocations: 0.729 MB / 1.096 GB, free: 15.68 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches