Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001657/0.001657, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002082/0.002082, allocations: 219.2 kB / 22.26 MB, free: 5.125 MB / 14.72 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002445/0.002445, allocations: 291.4 kB / 312.7 MB, free: 2.766 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 108.3 kB / 0.7396 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1918, allocations: 95.38 MB / 0.8328 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002139/0.1939, allocations: 0.6208 MB / 0.8334 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1962, allocations: 1.375 MB / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.1962, allocations: 0 / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1963, allocations: 0 / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.1963, allocations: 11.88 kB / 0.8347 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.1968, allocations: 79.72 kB / 0.8348 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.1969, allocations: 23.98 kB / 0.8348 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1969, allocations: 4 kB / 0.8348 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.1969, allocations: 15.98 kB / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.197, allocations: 19.91 kB / 0.8349 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.197, allocations: 0 / 0.8349 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1973, allocations: 111.8 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1974, allocations: 7.984 kB / 0.835 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.1974, allocations: 15.88 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1976, allocations: 76.05 kB / 0.8351 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1976, allocations: 0 / 0.8351 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1976, allocations: 4 kB / 0.8351 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1976, allocations: 0 / 0.8351 GB, free: 6.207 MB / 0.5762 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.0005282/0.1981, allocations: 282.8 kB / 0.8354 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1982, allocations: 9.344 kB / 0.8354 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.1982, allocations: 30.75 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1983, allocations: 8.938 kB / 0.8354 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1984, allocations: 106.5 kB / 0.8355 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1984, allocations: 4.375 kB / 0.8355 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1984, allocations: 8.375 kB / 0.8355 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1986, allocations: 65.72 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1986, allocations: 4 kB / 0.8356 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1986, allocations: 0 / 0.8356 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1986, allocations: 0 / 0.8356 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.1987, allocations: 27.97 kB / 0.8356 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.1989, allocations: 136.7 kB / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.199, allocations: 58.55 kB / 0.8358 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.1991, allocations: 24.86 kB / 0.8358 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.1993, allocations: 39.95 kB / 0.8359 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.1994, allocations: 42.44 kB / 0.8359 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1994, allocations: 0 / 0.8359 GB, free: 5.246 MB / 0.5762 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.01948/0.2189, allocations: 4.17 MB / 0.84 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.2189, allocations: 55.41 kB / 0.84 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.219, allocations: 93.86 kB / 0.8401 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.2191, allocations: 25.7 kB / 0.8401 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.2191, allocations: 88.27 kB / 0.8402 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2192, allocations: 55.48 kB / 0.8403 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.2194, allocations: 97.66 kB / 0.8404 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2196, allocations: 314.8 kB / 0.8407 GB, free: 224 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.2201, allocations: 315.9 kB / 0.841 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.2206, allocations: 314 kB / 0.8413 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.2222, allocations: 0.7663 MB / 0.842 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2222, allocations: 0 / 0.842 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001561/0.2237, allocations: 0.8113 MB / 0.8428 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2237, allocations: 4 kB / 0.8428 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2237, allocations: 0.5469 kB / 0.8428 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2238, allocations: 4 kB / 0.8428 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.2246, allocations: 87.95 kB / 0.8429 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2246, allocations: 0 / 0.8429 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.225, allocations: 4 kB / 0.8429 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.2251, allocations: 39.97 kB / 0.8429 GB, free: 13.88 MB / 0.5919 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.0001985/0.2253, allocations: 122.4 kB / 0.8431 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.2254, allocations: 11.95 kB / 0.8431 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.2286, allocations: 1.399 MB / 0.8444 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2286, allocations: 8 kB / 0.8444 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2286, allocations: 0 / 0.8444 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.2286, allocations: 3.984 kB / 0.8444 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.2319, allocations: 1.79 MB / 0.8462 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2319, allocations: 0 / 0.8462 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008477/0.2327, allocations: 107.9 kB / 0.8463 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.2327, allocations: 0 / 0.8463 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.2328, allocations: 39.92 kB / 0.8463 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2328, allocations: 0 / 0.8463 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2328, allocations: 0 / 0.8463 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.2354, allocations: 1.47 MB / 0.8478 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.2354, allocations: 23.81 kB / 0.8478 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.2355, allocations: 15.92 kB / 0.8478 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.236, allocations: 16 kB / 0.8478 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.2361, allocations: 43.89 kB / 0.8479 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.2362, allocations: 28 kB / 0.8479 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.2363, allocations: 87.28 kB / 0.848 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2363, allocations: 0 / 0.848 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006518/0.2369, allocations: 183.7 kB / 0.8481 GB, free: 8.453 MB / 0.5919 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.003206/0.2401, allocations: 2.129 MB / 0.8502 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.2414, allocations: 0.7205 MB / 0.8509 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2414, allocations: 0 / 0.8509 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.2421, allocations: 403.7 kB / 0.8513 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2424, allocations: 15.98 kB / 0.8513 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/0.2503, allocations: 3.714 MB / 0.855 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.2507, allocations: 0.718 MB / 0.8557 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009902/0.2517, allocations: 289.5 kB / 0.8559 GB, free: 352 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/0.2523, allocations: 119.4 kB / 0.8561 GB, free: 232 kB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.2523, allocations: 4 kB / 0.8561 GB, free: 228 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04946/0.3017, allocations: 13.51 MB / 0.8692 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.09, allocations: 6.406 kB / 0.8693 GB, free: 2.914 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.694010532999528] Failed to read output from testmodel.py, exit status != 0: 11.200365530999989 11.218621367 11.017851887 Calling exit ...