Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 201 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.109 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8904, allocations: 168.7 MB / 1.274 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002236/0.8927, allocations: 0.6292 MB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.8946, allocations: 1.295 MB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.8946, allocations: 0 / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.8946, allocations: 3.938 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 1.3e-05/0.8947, allocations: 3.938 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.895, allocations: 71.73 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.895, allocations: 23.97 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.895, allocations: 4 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.761e-05/0.8951, allocations: 15.98 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.8951, allocations: 11.92 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.8951, allocations: 0 / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.8954, allocations: 107.8 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.8954, allocations: 3.984 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.8954, allocations: 15.88 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.8955, allocations: 66.52 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.8955, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8955, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8955, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000461/0.896, allocations: 363.2 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.896, allocations: 8.031 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.8961, allocations: 4.938 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8962, allocations: 164.4 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.8962, allocations: 4.375 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.8962, allocations: 8.328 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.8963, allocations: 53.94 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8963, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.8963, allocations: 12 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8964, allocations: 0 / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.8964, allocations: 23.97 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.8966, allocations: 161.7 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8967, allocations: 50.56 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.8967, allocations: 28.84 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/0.8973, allocations: 0.5586 MB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.8973, allocations: 46.41 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.8973, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02073/0.9181, allocations: 4.377 MB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.9181, allocations: 51.41 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.9182, allocations: 93.84 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.9183, allocations: 33.7 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.9183, allocations: 80.14 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.9184, allocations: 59.48 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.9187, allocations: 89.8 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9188, allocations: 326.8 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.9194, allocations: 303.9 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.9199, allocations: 311.9 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.9215, allocations: 0.7684 MB / 1.284 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9215, allocations: 4 kB / 1.284 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001652/0.9232, allocations: 0.7981 MB / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.9232, allocations: 8 kB / 1.285 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.9232, allocations: 0 / 1.285 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9232, allocations: 0 / 1.285 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000907/0.9241, allocations: 99.94 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9242, allocations: 0 / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.9247, allocations: 12 kB / 1.285 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.9248, allocations: 36.28 kB / 1.285 GB, free: 8.836 MB / 0.9825 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 (18): * Single equations (assignments): 18 * 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 0.0002123/0.925, allocations: 121.7 kB / 1.285 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.9251, allocations: 7.953 kB / 1.285 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.9283, allocations: 1.403 MB / 1.286 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.9283, allocations: 8 kB / 1.286 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9283, allocations: 0 / 1.286 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.9283, allocations: 3.984 kB / 1.286 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.9316, allocations: 1.829 MB / 1.288 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9316, allocations: 4.031 kB / 1.288 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008649/0.9325, allocations: 107.9 kB / 1.288 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.9325, allocations: 4 kB / 1.288 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/0.9326, allocations: 27.94 kB / 1.288 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.9326, allocations: 3.984 kB / 1.288 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9326, allocations: 4 kB / 1.288 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.9352, allocations: 1.463 MB / 1.29 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.9353, allocations: 93.06 kB / 1.29 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.9354, allocations: 15.92 kB / 1.29 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.9359, allocations: 8 kB / 1.29 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.9361, allocations: 47.91 kB / 1.29 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.9361, allocations: 28 kB / 1.29 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.9362, allocations: 79.28 kB / 1.29 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9362, allocations: 0 / 1.29 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006048/0.9368, allocations: 175.7 kB / 1.29 GB, free: 3.297 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0005608/0.9374, allocations: 235.3 kB / 1.29 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.9387, allocations: 0.7126 MB / 1.291 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9387, allocations: 3.938 kB / 1.291 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006847/0.9394, allocations: 399.7 kB / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.9397, allocations: 16 kB / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.9436, allocations: 0.8282 MB / 1.292 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.944, allocations: 0.7182 MB / 1.293 GB, free: 336 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001003/0.945, allocations: 293.5 kB / 1.293 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/0.9456, allocations: 87.41 kB / 1.293 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of SimCode: time 1.743e-06/0.9456, allocations: 3.938 kB / 1.293 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of Templates: time 0.0209/0.9665, allocations: 11.68 MB / 1.305 GB, free: 4.324 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.129025883041322]