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.000771/0.000771, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0007798/0.0007798, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9138/0.9138, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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 1.857/1.857, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.233e-06/1.233e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.657e-05, allocations: 9.797 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001047/0.001064, allocations: 0.6227 MB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002263, allocations: 1.304 MB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.002286, allocations: 4 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.0023, allocations: 3.938 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.012e-05/0.00232, allocations: 7.938 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.00264, allocations: 75.67 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.002693, allocations: 27.95 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.002732, allocations: 3.938 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.002765, allocations: 19.92 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.002826, allocations: 11.97 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.002839, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.003058, allocations: 107.8 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.003071, allocations: 11.98 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.003092, allocations: 19.92 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.003227, allocations: 87.75 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003229, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00323, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003233, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 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.0003302/0.003564, allocations: 278.2 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.0036, allocations: 9.344 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.003631, allocations: 30.75 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.003657, allocations: 8.891 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.003727, allocations: 109.8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003738, allocations: 4.375 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.003758, allocations: 8.359 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.003875, allocations: 71.95 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.003886, allocations: 4.188 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.003897, allocations: 8.062 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.003901, allocations: 3.938 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.003954, allocations: 27.91 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.004079, allocations: 140.7 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.004175, allocations: 54.56 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.004209, allocations: 28.84 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.004386, allocations: 31.97 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.004408, allocations: 38.55 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.004409, allocations: 4 kB / 1.004 GB, free: 10.14 MB / 0.9636 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.01102/0.01543, allocations: 4.166 MB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.01546, allocations: 55.34 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.01553, allocations: 97.84 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.01558, allocations: 29.7 kB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.01561, allocations: 80.14 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.01569, allocations: 63.44 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.01585, allocations: 89.67 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.01595, allocations: 318.8 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.01632, allocations: 311.8 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.01669, allocations: 312 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.01769, allocations: 0.7803 MB / 1.01 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01769, allocations: 4 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001043/0.01874, allocations: 0.7982 MB / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.01876, allocations: 4 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01877, allocations: 3.938 kB / 1.011 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01878, allocations: 0 / 1.011 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.0192, allocations: 95.94 kB / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.01921, allocations: 4 kB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.01942, allocations: 4 kB / 1.011 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.01948, allocations: 35.98 kB / 1.011 GB, free: 2.77 MB / 0.9636 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.0001586/0.01963, allocations: 129.7 kB / 1.011 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.01969, allocations: 4 kB / 1.011 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.02151, allocations: 1.396 MB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.02152, allocations: 4 kB / 1.012 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02152, allocations: 0 / 1.012 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02152, allocations: 3.984 kB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.02366, allocations: 1.698 MB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02366, allocations: 0 / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.02404, allocations: 107.9 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.02404, allocations: 7.984 kB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.02408, allocations: 24 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.02409, allocations: 4 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.02409, allocations: 3.938 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.02568, allocations: 1.471 MB / 1.016 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.02569, allocations: 19.88 kB / 1.016 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.02575, allocations: 4 kB / 1.016 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.02597, allocations: 16 kB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.02605, allocations: 43.89 kB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.02609, allocations: 35.98 kB / 1.016 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.02612, allocations: 75.28 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02612, allocations: 0 / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003972/0.02651, allocations: 179.7 kB / 1.016 GB, free: 13.46 MB / 0.9792 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.002032/0.02855, allocations: 2.154 MB / 1.018 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008369/0.02938, allocations: 0.7189 MB / 1.019 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02938, allocations: 0 / 1.019 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.0298, allocations: 407.6 kB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.03002, allocations: 19.88 kB / 1.019 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.0349, allocations: 3.709 MB / 1.023 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.77e-05/0.03497, allocations: 111.6 kB / 1.023 GB, free: 6.215 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006228/0.03559, allocations: 290.3 kB / 1.023 GB, free: 5.926 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.03599, allocations: 120.5 kB / 1.023 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of SimCode: time 8.22e-07/0.03599, allocations: 0 / 1.023 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09602/0.132, allocations: 14.22 MB / 1.037 GB, free: 7.801 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.429, allocations: 9.891 kB / 1.037 GB, free: 7.793 MB / 0.9948 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.397669430822134]