Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007642/0.0007642, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0007989/0.0007989, allocations: 219.8 kB / 23.03 MB, free: 2.953 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 0.9322/0.9322, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.04/2.04, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 67.89 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7478, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001351/0.7491, allocations: 0.613 MB / 1.353 GB, free: 1.027 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.7506, allocations: 1.306 MB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.7506, allocations: 4 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.7507, allocations: 3.938 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.301e-05/0.7507, allocations: 3.938 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.751, allocations: 75.73 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.7511, allocations: 23.97 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.7511, allocations: 0 / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.7512, allocations: 15.92 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.7512, allocations: 11.98 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.7512, allocations: 4 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.7515, allocations: 107.8 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.7515, allocations: 15.91 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.7515, allocations: 11.94 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.7516, allocations: 74.09 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7516, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7516, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.7516, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 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.0003649/0.752, allocations: 282.1 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7521, allocations: 8.922 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.7521, allocations: 38.73 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.7521, allocations: 12.89 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.672e-05/0.7522, allocations: 102.5 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.7522, allocations: 8.359 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7522, allocations: 4.375 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.7524, allocations: 91.42 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.7524, allocations: 0 / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7524, allocations: 0 / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7524, allocations: 0 / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.7524, allocations: 23.98 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.7526, allocations: 136.8 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.7527, allocations: 58.55 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.7527, allocations: 24.84 kB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.7529, allocations: 35.91 kB / 1.355 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.7529, allocations: 42.5 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.7529, allocations: 0 / 1.356 GB, free: 14.38 MB / 1.042 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.01061/0.7635, allocations: 4.177 MB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.7636, allocations: 51.41 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.7636, allocations: 97.86 kB / 1.36 GB, free: 9.93 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.7637, allocations: 25.7 kB / 1.36 GB, free: 9.898 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.7637, allocations: 80.14 kB / 1.36 GB, free: 9.816 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.7638, allocations: 63.47 kB / 1.36 GB, free: 9.754 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.7639, allocations: 97.78 kB / 1.36 GB, free: 9.652 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.764, allocations: 322.8 kB / 1.36 GB, free: 9.328 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.7646, allocations: 311.9 kB / 1.361 GB, free: 9.023 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.765, allocations: 310.1 kB / 1.361 GB, free: 8.723 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.766, allocations: 0.7779 MB / 1.362 GB, free: 7.941 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.766, allocations: 0 / 1.362 GB, free: 7.941 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001025/0.767, allocations: 0.8006 MB / 1.362 GB, free: 7.137 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.767, allocations: 4 kB / 1.362 GB, free: 7.133 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.767, allocations: 0 / 1.362 GB, free: 7.133 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.7671, allocations: 4 kB / 1.362 GB, free: 7.129 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.7675, allocations: 91.94 kB / 1.363 GB, free: 7.039 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7675, allocations: 8 kB / 1.363 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.7677, allocations: 4 kB / 1.363 GB, free: 7.027 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.7677, allocations: 35.98 kB / 1.363 GB, free: 6.992 MB / 1.042 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.0001369/0.7679, allocations: 121.7 kB / 1.363 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.7679, allocations: 11.94 kB / 1.363 GB, free: 6.852 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.7698, allocations: 1.403 MB / 1.364 GB, free: 5.441 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7698, allocations: 4 kB / 1.364 GB, free: 5.438 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.7698, allocations: 3.938 kB / 1.364 GB, free: 5.434 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7698, allocations: 0 / 1.364 GB, free: 5.434 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.7718, allocations: 1.704 MB / 1.366 GB, free: 3.676 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7718, allocations: 0 / 1.366 GB, free: 3.676 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.7722, allocations: 107.9 kB / 1.366 GB, free: 3.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7722, allocations: 4 kB / 1.366 GB, free: 3.566 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.7722, allocations: 31.92 kB / 1.366 GB, free: 3.535 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.7722, allocations: 8.031 kB / 1.366 GB, free: 3.527 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7722, allocations: 0 / 1.366 GB, free: 3.527 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.7739, allocations: 1.466 MB / 1.367 GB, free: 2.039 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.7739, allocations: 19.92 kB / 1.367 GB, free: 2.02 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.7739, allocations: 7.938 kB / 1.367 GB, free: 2.012 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.7744, allocations: 12 kB / 1.367 GB, free: 2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.7745, allocations: 47.89 kB / 1.367 GB, free: 1.953 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.7746, allocations: 35.94 kB / 1.367 GB, free: 1.918 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.452e-05/0.7746, allocations: 75.28 kB / 1.368 GB, free: 1.844 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7746, allocations: 0 / 1.368 GB, free: 1.844 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004286/0.775, allocations: 191.8 kB / 1.368 GB, free: 1.656 MB / 1.042 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.002071/0.7771, allocations: 2.13 MB / 1.37 GB, free: 15.5 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008728/0.778, allocations: 0.7151 MB / 1.37 GB, free: 14.78 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.778, allocations: 0 / 1.37 GB, free: 14.78 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.7784, allocations: 407.6 kB / 1.371 GB, free: 14.38 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.7786, allocations: 16 kB / 1.371 GB, free: 14.37 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.7836, allocations: 3.7 MB / 1.375 GB, free: 10.59 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.7837, allocations: 111.5 kB / 1.375 GB, free: 10.45 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0007109/0.7844, allocations: 293.5 kB / 1.375 GB, free: 10.16 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.7848, allocations: 111.4 kB / 1.375 GB, free: 10.05 MB / 1.057 GB Notification: Performance of SimCode: time 1.042e-06/0.7848, allocations: 0 / 1.375 GB, free: 10.05 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/0.8855, allocations: 14.09 MB / 1.389 GB, free: 12.16 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.766, allocations: 11.75 kB / 1.389 GB, free: 12.15 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.737004177644849]