Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008625/0.0008625, 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.001019/0.001019, 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.9176/0.9176, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.723/1.723, allocations: 359 MB / 0.6037 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.178e-05, allocations: 5.234 kB / 0.9506 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00155/0.001582, allocations: 0.615 MB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.002925, allocations: 1.307 MB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.002962, allocations: 0 / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.002982, allocations: 7.875 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.517e-05/0.003008, allocations: 0 / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.003438, allocations: 83.66 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.003502, allocations: 23.97 kB / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.003542, allocations: 0 / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.003582, allocations: 19.91 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.003834, allocations: 11.98 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.003856, allocations: 4 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.004119, allocations: 107.8 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.004132, allocations: 7.969 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.004152, allocations: 7.938 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004303, allocations: 87.81 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004306, allocations: 4 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004307, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.004312, allocations: 3.938 kB / 0.9528 GB, free: 1.094 MB / 0.9011 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.0003974/0.00471, allocations: 286 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.004749, allocations: 8.031 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.004784, allocations: 38.75 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.00481, allocations: 0.9375 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.61e-05/0.004886, allocations: 105.8 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.0049, allocations: 8.359 kB / 0.9532 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.004935, allocations: 12.33 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.005055, allocations: 71.95 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005065, allocations: 4.125 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.005077, allocations: 8.125 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.005082, allocations: 0 / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.005141, allocations: 31.91 kB / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.005283, allocations: 128.8 kB / 0.9535 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.005393, allocations: 58.55 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.005428, allocations: 24.84 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.005623, allocations: 35.97 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.005647, allocations: 42.55 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.005648, allocations: 0 / 0.9536 GB, free: 112 kB / 0.9011 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.01073/0.01638, allocations: 4.161 MB / 0.9577 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.01641, allocations: 51.41 kB / 0.9577 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.01646, allocations: 105.8 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.01651, allocations: 25.7 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.01653, allocations: 84 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.01661, allocations: 59.48 kB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.01676, allocations: 97.61 kB / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.01683, allocations: 318.8 kB / 0.9584 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.01718, allocations: 311.8 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.01753, allocations: 309.9 kB / 0.959 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.01867, allocations: 0.7819 MB / 0.9597 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01867, allocations: 4 kB / 0.9597 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001017/0.01969, allocations: 0.8006 MB / 0.9605 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.0197, allocations: 4 kB / 0.9605 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01971, allocations: 0 / 0.9605 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01972, allocations: 0 / 0.9605 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.02009, allocations: 99.88 kB / 0.9606 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.02009, allocations: 400 / 0.9606 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.0203, allocations: 8 kB / 0.9606 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.02035, allocations: 35.97 kB / 0.9607 GB, free: 8.73 MB / 0.9167 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.0001189/0.02047, allocations: 121.8 kB / 0.9608 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.02052, allocations: 7.953 kB / 0.9608 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.02236, allocations: 1.403 MB / 0.9622 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.02237, allocations: 4 kB / 0.9622 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.02237, allocations: 0 / 0.9622 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.02238, allocations: 3.984 kB / 0.9622 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.02426, allocations: 1.702 MB / 0.9638 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.02426, allocations: 0 / 0.9638 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.02463, allocations: 115.9 kB / 0.9639 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02463, allocations: 0 / 0.9639 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.02468, allocations: 28 kB / 0.964 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02468, allocations: 0 / 0.964 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.02468, allocations: 3.938 kB / 0.964 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.02632, allocations: 1.474 MB / 0.9654 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.02633, allocations: 8.047 kB / 0.9654 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.02639, allocations: 19.98 kB / 0.9654 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.02661, allocations: 8 kB / 0.9654 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.0267, allocations: 47.89 kB / 0.9655 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.02675, allocations: 31.98 kB / 0.9655 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.02678, allocations: 79.22 kB / 0.9656 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.02678, allocations: 0 / 0.9656 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000434/0.02721, allocations: 187.6 kB / 0.9658 GB, free: 3.402 MB / 0.9167 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.00233/0.02954, allocations: 2.158 MB / 0.9679 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008695/0.03041, allocations: 0.7108 MB / 0.9686 GB, free: 0.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.03041, allocations: 7.938 kB / 0.9686 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.03083, allocations: 403.6 kB / 0.969 GB, free: 100 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.03108, allocations: 19.94 kB / 0.969 GB, free: 80 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.03571, allocations: 3.709 MB / 0.9726 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.385e-05/0.03578, allocations: 99.72 kB / 0.9727 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006318/0.03641, allocations: 293.5 kB / 0.973 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.03682, allocations: 120.5 kB / 0.9731 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of SimCode: time 6.21e-07/0.03682, allocations: 4 kB / 0.9731 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.066, allocations: 14.21 MB / 0.987 GB, free: 13.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.098, allocations: 6.812 kB / 0.987 GB, free: 13.73 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.297637053765357] Failed to read output from testmodel.py, exit status != 0: 7.188017291948199 7.199685586 7.192749426 Calling exit ...