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.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.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.000952/0.0009521, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.352 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.466/2.466, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003403, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.7888, allocations: 142.4 MB / 0.9557 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008041/0.7897, allocations: 319.3 kB / 0.956 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.7915, allocations: 1.239 MB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.7916, allocations: 1.156 kB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.7916, allocations: 3.938 kB / 0.9572 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-06/0.7916, allocations: 0 / 0.9572 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.7921, allocations: 40.05 kB / 0.9573 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.7921, allocations: 5.656 kB / 0.9573 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.7922, allocations: 9.047 kB / 0.9573 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.7922, allocations: 1.312 kB / 0.9573 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.7922, allocations: 9.328 kB / 0.9573 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.7923, allocations: 3.938 kB / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.7925, allocations: 90.19 kB / 0.9574 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.7926, allocations: 5.203 kB / 0.9574 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.7926, allocations: 25.7 kB / 0.9574 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.7927, allocations: 37.78 kB / 0.9575 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7927, allocations: 1.094 kB / 0.9575 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7927, allocations: 0 / 0.9575 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7927, allocations: 0 / 0.9575 GB, free: 6.434 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002498/0.793, allocations: 324.8 kB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.793, allocations: 8.844 kB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.7931, allocations: 6.094 kB / 0.9578 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.124e-05/0.7932, allocations: 168.3 kB / 0.9579 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.7932, allocations: 384 / 0.9579 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.7932, allocations: 1.531 kB / 0.9579 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.7933, allocations: 32.2 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.7933, allocations: 0 / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.7933, allocations: 4 kB / 0.958 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7933, allocations: 1.031 kB / 0.958 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.7934, allocations: 0.9688 kB / 0.958 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.7935, allocations: 143.8 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.7935, allocations: 27.62 kB / 0.9581 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.7936, allocations: 7.297 kB / 0.9582 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.794, allocations: 0.5603 MB / 0.9587 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.794, allocations: 35.81 kB / 0.9587 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.7941, allocations: 0 / 0.9587 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.7942, allocations: 39.25 kB / 0.9588 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.7942, allocations: 51.41 kB / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.184e-05/0.7943, allocations: 94.89 kB / 0.9589 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.7943, allocations: 29.83 kB / 0.9589 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.139e-05/0.7943, allocations: 80.14 kB / 0.959 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.7943, allocations: 9.109 kB / 0.959 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.7944, allocations: 9.719 kB / 0.959 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.7944, allocations: 312.5 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.7944, allocations: 4 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-06/0.7945, allocations: 1.281 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.7945, allocations: 12.88 kB / 0.9594 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7945, allocations: 8 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.59e-05/0.7946, allocations: 30.2 kB / 0.9594 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7946, allocations: 11.56 kB / 0.9594 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7946, allocations: 0 / 0.9594 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7946, allocations: 0 / 0.9594 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.7947, allocations: 5.375 kB / 0.9594 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7947, allocations: 5.344 kB / 0.9594 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.7947, allocations: 0 / 0.9594 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.7947, allocations: 1.562 kB / 0.9594 GB, free: 4.164 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 (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 5.827e-05/0.7948, allocations: 109.9 kB / 0.9595 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.7948, allocations: 9.453 kB / 0.9595 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.7949, allocations: 38.61 kB / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7949, allocations: 3.984 kB / 0.9596 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7949, allocations: 4 kB / 0.9596 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7949, allocations: 0.9375 kB / 0.9596 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.016e-05/0.795, allocations: 146.9 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.795, allocations: 0 / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.795, allocations: 5.406 kB / 0.9597 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.795, allocations: 5.188 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.795, allocations: 0 / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.795, allocations: 5.438 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.795, allocations: 0 / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.861e-05/0.7951, allocations: 59.19 kB / 0.9598 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.7951, allocations: 79.08 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.7951, allocations: 9.188 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.7952, allocations: 0 / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.7952, allocations: 1.438 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.7952, allocations: 0 / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.419e-05/0.7952, allocations: 76.69 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7952, allocations: 0 / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.7954, allocations: 5.531 kB / 0.9599 GB, free: 3.543 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 (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.0001691/0.7956, allocations: 113.2 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.117e-05/0.7957, allocations: 12.56 kB / 0.9601 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7957, allocations: 0 / 0.9601 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.096e-06/0.7957, allocations: 1.656 kB / 0.9601 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.7958, allocations: 6.984 kB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.796, allocations: 98.66 kB / 0.9602 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.7961, allocations: 0.678 MB / 0.9608 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.7962, allocations: 11.44 kB / 0.9608 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7962, allocations: 1.531 kB / 0.9608 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.001742/0.7979, allocations: 429.6 kB / 0.9613 GB, free: 2.391 MB / 0.7169 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