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.0008219/0.0008219, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008454/0.0008454, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.871/0.871, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.5e-05, allocations: 8.953 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00108/0.001095, allocations: 0.6188 MB / 0.9816 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.00244, allocations: 1.303 MB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.002465, allocations: 0 / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.00248, allocations: 0 / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.08e-05/0.002501, allocations: 3.938 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.002881, allocations: 87.59 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.002937, allocations: 19.97 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.002978, allocations: 7.938 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.003015, allocations: 15.98 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.003082, allocations: 15.91 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003096, allocations: 4 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.00332, allocations: 107.9 kB / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.003332, allocations: 4 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.003351, allocations: 11.97 kB / 0.9832 GB, free: 316 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.003489, allocations: 95.69 kB / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003491, allocations: 0 / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003492, allocations: 0 / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003496, allocations: 0 / 0.9833 GB, free: 220 kB / 0.9323 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.0003643/0.00386, allocations: 278.2 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.003898, allocations: 12.03 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.003929, allocations: 30.75 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.003953, allocations: 4.938 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.74e-05/0.00402, allocations: 113.7 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.00403, allocations: 4.375 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.00405, allocations: 4.375 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.004156, allocations: 79.94 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.004165, allocations: 192 / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004175, allocations: 4.125 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.00418, allocations: 8 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.004231, allocations: 23.92 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.004375, allocations: 136.7 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.00447, allocations: 58.5 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.0045, allocations: 24.84 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.004684, allocations: 43.95 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.004703, allocations: 34.5 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.004704, allocations: 4 kB / 0.9841 GB, free: 15.23 MB / 0.948 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.01055/0.01525, allocations: 4.159 MB / 0.9881 GB, free: 10.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.01528, allocations: 55.41 kB / 0.9882 GB, free: 10.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.01532, allocations: 89.86 kB / 0.9883 GB, free: 10.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.01537, allocations: 29.7 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.983e-05/0.01539, allocations: 84.27 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.01547, allocations: 63.47 kB / 0.9885 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.01563, allocations: 93.66 kB / 0.9885 GB, free: 10.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.0157, allocations: 314.8 kB / 0.9888 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.01605, allocations: 311.9 kB / 0.9891 GB, free: 9.902 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.0164, allocations: 311.9 kB / 0.9894 GB, free: 9.598 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.01752, allocations: 0.7769 MB / 0.9902 GB, free: 8.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01752, allocations: 0 / 0.9902 GB, free: 8.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009969/0.01852, allocations: 0.7981 MB / 0.991 GB, free: 8.016 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01853, allocations: 4 kB / 0.991 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01853, allocations: 3.938 kB / 0.991 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.01855, allocations: 8 kB / 0.991 GB, free: 8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.01892, allocations: 103.8 kB / 0.9911 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01892, allocations: 4.062 kB / 0.9911 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.01912, allocations: 4 kB / 0.9911 GB, free: 7.891 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.01917, allocations: 31.98 kB / 0.9911 GB, free: 7.859 MB / 0.948 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.0001247/0.0193, allocations: 121.8 kB / 0.9912 GB, free: 7.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.01934, allocations: 7.953 kB / 0.9913 GB, free: 7.723 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.02117, allocations: 1.403 MB / 0.9926 GB, free: 6.316 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.02117, allocations: 4 kB / 0.9926 GB, free: 6.312 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.02118, allocations: 4 kB / 0.9926 GB, free: 6.309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.02118, allocations: 0 / 0.9926 GB, free: 6.309 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.02303, allocations: 1.705 MB / 0.9943 GB, free: 4.543 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02303, allocations: 4 kB / 0.9943 GB, free: 4.539 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.02339, allocations: 103.9 kB / 0.9944 GB, free: 4.438 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02339, allocations: 4.031 kB / 0.9944 GB, free: 4.434 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.02344, allocations: 35.98 kB / 0.9944 GB, free: 4.398 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.02344, allocations: 4 kB / 0.9944 GB, free: 4.395 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02344, allocations: 3.938 kB / 0.9944 GB, free: 4.391 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.02503, allocations: 1.463 MB / 0.9959 GB, free: 2.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.02505, allocations: 23.8 kB / 0.9959 GB, free: 2.887 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.0251, allocations: 8 kB / 0.9959 GB, free: 2.879 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.02531, allocations: 8 kB / 0.9959 GB, free: 2.871 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.02541, allocations: 47.89 kB / 0.996 GB, free: 2.824 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.02545, allocations: 32 kB / 0.996 GB, free: 2.793 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.02548, allocations: 79.34 kB / 0.9961 GB, free: 2.715 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02548, allocations: 0 / 0.9961 GB, free: 2.715 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003924/0.02587, allocations: 187.7 kB / 0.9962 GB, free: 2.531 MB / 0.948 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.002145/0.02802, allocations: 2.142 MB / 0.9983 GB, free: 368 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008371/0.02885, allocations: 0.7189 MB / 0.999 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02886, allocations: 0 / 0.999 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.02926, allocations: 399.7 kB / 0.9994 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.02948, allocations: 22.78 kB / 0.9994 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.03395, allocations: 3.71 MB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.27e-05/0.03402, allocations: 111.4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006196/0.03463, allocations: 301.5 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.03504, allocations: 116.5 kB / 1.004 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.03504, allocations: 0 / 1.004 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.05951, allocations: 14.22 MB / 1.017 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.921, allocations: 0 / 1.017 GB, free: 12.89 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.082750583998859] Failed to read output from testmodel.py, exit status != 0: 7.006138268858194 7.014506084 7.009434269 Calling exit ...