Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001978, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007145/0.0007145, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009014/0.001616, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.145, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.867/1.867, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5476/2.415, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.5e-05, allocations: 4.438 kB / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002369/0.002394, allocations: 0.6788 MB / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.004269, allocations: 1.357 MB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.004293, allocations: 0 / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.004304, allocations: 4.922 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.109e-05/0.004315, allocations: 0 / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.004641, allocations: 70.81 kB / 0.7315 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.004718, allocations: 25.5 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.004765, allocations: 4 kB / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.004829, allocations: 18.84 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.004914, allocations: 18.27 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004931, allocations: 0 / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.005269, allocations: 120.5 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.005287, allocations: 5.531 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.005308, allocations: 5.453 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.005513, allocations: 77.88 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.025e-05/0.005533, allocations: 2.703 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005534, allocations: 0 / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.005553, allocations: 4 kB / 0.7317 GB, free: 2.117 MB / 0.698 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.0005207/0.006073, allocations: 264.4 kB / 0.732 GB, free: 1.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.006122, allocations: 9.094 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.006178, allocations: 5.922 kB / 0.732 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.006308, allocations: 106.9 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.006329, allocations: 8.375 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.006363, allocations: 4.375 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.006522, allocations: 80.45 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.006535, allocations: 1.062 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.006549, allocations: 4.359 kB / 0.7322 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.006558, allocations: 3.938 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.886e-05/0.006627, allocations: 12.75 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.006795, allocations: 74.08 kB / 0.7323 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.006937, allocations: 51.31 kB / 0.7323 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.006972, allocations: 14.67 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.0073, allocations: 36.12 kB / 0.7324 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.007348, allocations: 43.42 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.007351, allocations: 0 / 0.7324 GB, free: 1.328 MB / 0.698 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.01774/0.02509, allocations: 8.577 MB / 0.7408 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.02513, allocations: 55.41 kB / 0.7408 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.02519, allocations: 94.72 kB / 0.7409 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/0.02528, allocations: 29.7 kB / 0.741 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.02531, allocations: 88.11 kB / 0.741 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.02543, allocations: 63.48 kB / 0.7411 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.02564, allocations: 53.59 kB / 0.7412 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.02572, allocations: 322.8 kB / 0.7415 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.02621, allocations: 0.668 MB / 0.7421 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.02673, allocations: 0.6756 MB / 0.7428 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.02783, allocations: 1.433 MB / 0.7442 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.02783, allocations: 4 kB / 0.7442 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001195/0.02903, allocations: 1.423 MB / 0.7456 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.02905, allocations: 7.938 kB / 0.7456 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02905, allocations: 0 / 0.7456 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.02907, allocations: 0 / 0.7456 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.02983, allocations: 135.7 kB / 0.7457 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.02984, allocations: 480 / 0.7457 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.03013, allocations: 12 kB / 0.7457 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.03021, allocations: 19.94 kB / 0.7457 GB, free: 3.695 MB / 0.7136 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.0002072/0.03042, allocations: 117.8 kB / 0.7458 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.03055, allocations: 11.94 kB / 0.7459 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/0.03428, allocations: 1.981 MB / 0.7478 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.03429, allocations: 8 kB / 0.7478 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.03429, allocations: 4 kB / 0.7478 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.0343, allocations: 7.969 kB / 0.7478 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.03659, allocations: 1.866 MB / 0.7496 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.03659, allocations: 0 / 0.7496 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/0.03743, allocations: 199.8 kB / 0.7498 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.03746, allocations: 35.69 kB / 0.7499 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.03747, allocations: 4.031 kB / 0.7499 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.03754, allocations: 23.98 kB / 0.7499 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.03754, allocations: 7.938 kB / 0.7499 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.03754, allocations: 0 / 0.7499 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.03916, allocations: 1.652 MB / 0.7515 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.03927, allocations: 16 kB / 0.7515 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.03963, allocations: 24 kB / 0.7515 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.03977, allocations: 52.89 kB / 0.7516 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.03984, allocations: 19.98 kB / 0.7516 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.364e-05/0.03986, allocations: 4.859 kB / 0.7516 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.03986, allocations: 4.125 kB / 0.7516 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000534/0.04039, allocations: 263.7 kB / 0.7519 GB, free: 13.34 MB / 0.7292 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 (89): * Single equations (assignments): 89 * 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.0004573/0.04085, allocations: 239.8 kB / 0.7521 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.04205, allocations: 1.238 MB / 0.7533 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.04207, allocations: 4 kB / 0.7533 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.04257, allocations: 0.5551 MB / 0.7539 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.04283, allocations: 63.84 kB / 0.7539 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.04561, allocations: 1.1 MB / 0.755 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.84e-05/0.04567, allocations: 112 kB / 0.7551 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001699/0.04736, allocations: 0.7014 MB / 0.7558 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.04838, allocations: 127.3 kB / 0.7559 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/0.04838, allocations: 0 / 0.7559 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.02768/0.07607, allocations: 25.95 MB / 0.7812 GB, free: 15.2 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.204315327107906]