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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001819, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 1.017/1.017, allocations: 143 MB / 433.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1559, allocations: 82.05 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002086/0.158, allocations: 0.5974 MB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1601, allocations: 1.283 MB / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.1601, allocations: 0 / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.1602, allocations: 0 / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.1602, allocations: 3.938 kB / 0.5963 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1607, allocations: 75.73 kB / 0.5963 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.1607, allocations: 23.97 kB / 0.5963 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.1608, allocations: 7.984 kB / 0.5964 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.1608, allocations: 7.938 kB / 0.5964 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.1609, allocations: 15.92 kB / 0.5964 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1609, allocations: 4 kB / 0.5964 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.1612, allocations: 99.89 kB / 0.5965 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1612, allocations: 3.984 kB / 0.5965 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1612, allocations: 19.92 kB / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1614, allocations: 71.84 kB / 0.5966 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1614, allocations: 0 / 0.5966 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1614, allocations: 0 / 0.5966 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1614, allocations: 0 / 0.5966 GB, free: 7.273 MB / 0.4981 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.0005345/0.162, allocations: 355.7 kB / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.162, allocations: 8.031 kB / 0.5969 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.162, allocations: 34.75 kB / 0.5969 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1621, allocations: 4.875 kB / 0.597 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1622, allocations: 168.4 kB / 0.5971 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1623, allocations: 4.375 kB / 0.5971 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1623, allocations: 4.375 kB / 0.5971 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1624, allocations: 61.8 kB / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1624, allocations: 0 / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1625, allocations: 0 / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1625, allocations: 0 / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.1625, allocations: 23.98 kB / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1627, allocations: 177.4 kB / 0.5974 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1629, allocations: 62.55 kB / 0.5974 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.1629, allocations: 24.86 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.1634, allocations: 0.5583 MB / 0.598 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1635, allocations: 34.5 kB / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1635, allocations: 4 kB / 0.598 GB, free: 5.469 MB / 0.4981 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.02056/0.1841, allocations: 4.376 MB / 0.6023 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1841, allocations: 55.41 kB / 0.6024 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.17e-05/0.1842, allocations: 93.86 kB / 0.6025 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.1843, allocations: 29.7 kB / 0.6025 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.1843, allocations: 80.14 kB / 0.6026 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1844, allocations: 63.05 kB / 0.6026 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.1847, allocations: 93.66 kB / 0.6027 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1848, allocations: 318.8 kB / 0.603 GB, free: 188 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.276/0.4608, allocations: 306.5 kB / 0.6033 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.4615, allocations: 309.4 kB / 0.6036 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.4633, allocations: 0.7757 MB / 0.6044 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4633, allocations: 0 / 0.6044 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001584/0.4649, allocations: 0.7996 MB / 0.6051 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.465, allocations: 7 kB / 0.6051 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.465, allocations: 0 / 0.6051 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.465, allocations: 3.828 kB / 0.6051 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.4659, allocations: 92.38 kB / 0.6052 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4659, allocations: 2.812 kB / 0.6052 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.4665, allocations: 11.91 kB / 0.6052 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.175e-05/0.4666, allocations: 33.33 kB / 0.6053 GB, free: 44.23 MB / 0.4981 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.0001778/0.4667, allocations: 121.1 kB / 0.6054 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.4668, allocations: 7.844 kB / 0.6054 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.47, allocations: 1.401 MB / 0.6068 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.47, allocations: 2.906 kB / 0.6068 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.47, allocations: 2.906 kB / 0.6068 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.47, allocations: 3.422 kB / 0.6068 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.4725, allocations: 1.809 MB / 0.6085 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4725, allocations: 3 kB / 0.6085 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.4733, allocations: 110.8 kB / 0.6087 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.4734, allocations: 2.781 kB / 0.6087 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/0.4734, allocations: 31.7 kB / 0.6087 GB, free: 43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.4734, allocations: 6.938 kB / 0.6087 GB, free: 43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4734, allocations: 0 / 0.6087 GB, free: 43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.4756, allocations: 1.47 MB / 0.6101 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.4756, allocations: 92.64 kB / 0.6102 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.4757, allocations: 10.44 kB / 0.6102 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.4763, allocations: 9.719 kB / 0.6102 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.4764, allocations: 50.56 kB / 0.6103 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.4765, allocations: 33.59 kB / 0.6103 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.658e-05/0.4765, allocations: 78.97 kB / 0.6104 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4765, allocations: 0 / 0.6104 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000547/0.4771, allocations: 173.1 kB / 0.6106 GB, free: 42.04 MB / 0.4981 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.00246/0.4795, allocations: 2.137 MB / 0.6126 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.4807, allocations: 0.7385 MB / 0.6134 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4807, allocations: 0 / 0.6134 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.4812, allocations: 458 kB / 0.6138 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4815, allocations: 11.38 kB / 0.6138 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/0.4882, allocations: 3.712 MB / 0.6174 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.4883, allocations: 0.7209 MB / 0.6181 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001315/0.4896, allocations: 297 kB / 0.6184 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.4901, allocations: 116.5 kB / 0.6185 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.4901, allocations: 0 / 0.6185 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.5195, allocations: 12.7 MB / 0.6309 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.184, allocations: 12.12 kB / 0.631 GB, free: 36.29 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)