Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0008698/0.0008698, 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.001034/0.001034, 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.9341/0.9341, 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/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5762/0.5762, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5473 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.756e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001494/0.001522, allocations: 0.6162 MB / 0.5479 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.002983, allocations: 1.307 MB / 0.5492 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.003006, allocations: 4 kB / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.003021, allocations: 0 / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.983e-05/0.003041, allocations: 0 / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.003421, allocations: 87.55 kB / 0.5493 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.00349, allocations: 23.97 kB / 0.5493 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.003533, allocations: 0 / 0.5493 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.003568, allocations: 15.92 kB / 0.5493 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.003641, allocations: 15.97 kB / 0.5494 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.003658, allocations: 4 kB / 0.5494 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.003947, allocations: 107.8 kB / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.00396, allocations: 7.984 kB / 0.5495 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.003981, allocations: 11.92 kB / 0.5495 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.004131, allocations: 83.81 kB / 0.5496 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004134, allocations: 0 / 0.5496 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.004136, allocations: 0 / 0.5496 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.00414, allocations: 0 / 0.5496 GB, free: 7.457 MB / 0.5105 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.0003665/0.004507, allocations: 286.1 kB / 0.5498 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.004548, allocations: 8.031 kB / 0.5498 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.004579, allocations: 38.75 kB / 0.5499 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.004606, allocations: 4.938 kB / 0.5499 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.004683, allocations: 113.7 kB / 0.55 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004694, allocations: 384 / 0.55 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.004717, allocations: 8.328 kB / 0.55 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004834, allocations: 75.95 kB / 0.5501 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.004844, allocations: 192 / 0.5501 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004855, allocations: 4.125 kB / 0.5501 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.004859, allocations: 0 / 0.5501 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.625e-05/0.004915, allocations: 31.97 kB / 0.5501 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.00504, allocations: 124.8 kB / 0.5502 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.855e-05/0.005138, allocations: 70.42 kB / 0.5503 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.005168, allocations: 20.86 kB / 0.5503 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.005368, allocations: 43.89 kB / 0.5504 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.005394, allocations: 42.56 kB / 0.5504 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.005395, allocations: 0 / 0.5504 GB, free: 6.465 MB / 0.5105 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.01079/0.01618, allocations: 4.175 MB / 0.5545 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.01623, allocations: 63.3 kB / 0.5545 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.0163, allocations: 93.86 kB / 0.5546 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.01635, allocations: 25.7 kB / 0.5546 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.01638, allocations: 84.14 kB / 0.5547 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.01647, allocations: 55.48 kB / 0.5548 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.01662, allocations: 93.67 kB / 0.5549 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.0167, allocations: 318.8 kB / 0.5552 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.01704, allocations: 312 kB / 0.5555 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.01738, allocations: 307.9 kB / 0.5558 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.01838, allocations: 0.7802 MB / 0.5565 GB, free: 52 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01838, allocations: 0 / 0.5565 GB, free: 52 kB / 0.5105 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001064/0.01945, allocations: 0.8021 MB / 0.5573 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.01947, allocations: 8 kB / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01948, allocations: 0 / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.0195, allocations: 3.984 kB / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.01991, allocations: 87.95 kB / 0.5574 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.01992, allocations: 0 / 0.5574 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.02011, allocations: 11.94 kB / 0.5574 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.02016, allocations: 43.97 kB / 0.5575 GB, free: 15.09 MB / 0.5261 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.0001384/0.0203, allocations: 117.8 kB / 0.5576 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.02034, allocations: 7.953 kB / 0.5576 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.02216, allocations: 1.396 MB / 0.5589 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.02217, allocations: 4 kB / 0.5589 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.02217, allocations: 0 / 0.5589 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.02218, allocations: 7.922 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.02414, allocations: 1.702 MB / 0.5606 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.02414, allocations: 0 / 0.5606 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.02486, allocations: 107.9 kB / 0.5607 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.02487, allocations: 4 kB / 0.5607 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.02491, allocations: 24 kB / 0.5607 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.02492, allocations: 0 / 0.5607 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.02492, allocations: 7.938 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.0265, allocations: 1.462 MB / 0.5622 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.02652, allocations: 7.984 kB / 0.5622 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.02657, allocations: 12 kB / 0.5622 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.02678, allocations: 12 kB / 0.5622 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.02687, allocations: 55.81 kB / 0.5623 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.02692, allocations: 24 kB / 0.5623 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.02695, allocations: 79.28 kB / 0.5624 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.02695, allocations: 0 / 0.5624 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005159/0.02746, allocations: 187.6 kB / 0.5625 GB, free: 9.789 MB / 0.5261 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.002224/0.02969, allocations: 2.15 MB / 0.5646 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008897/0.03058, allocations: 0.7145 MB / 0.5653 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.03058, allocations: 0 / 0.5653 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.03099, allocations: 400 kB / 0.5657 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.03125, allocations: 28.31 kB / 0.5657 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.03638, allocations: 3.719 MB / 0.5694 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.245e-05/0.03647, allocations: 103.8 kB / 0.5695 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006691/0.03714, allocations: 305.5 kB / 0.5698 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.03755, allocations: 112.5 kB / 0.5699 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of SimCode: time 2.154e-06/0.03755, allocations: 0 / 0.5699 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.06718, allocations: 14.25 MB / 0.5838 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.037, allocations: 5.75 kB / 0.5838 GB, free: 4.133 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.595254497602582] Failed to read output from testmodel.py, exit status != 0: 7.120627674274147 7.13000055 7.124023984 Calling exit ...