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.006109/0.006109, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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 0.862/0.862, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.001891, allocations: 68.88 kB / 0.5951 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1788, allocations: 82.04 MB / 0.6752 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001851/0.1807, allocations: 0.6179 MB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1824, allocations: 1.283 MB / 0.6771 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.1824, allocations: 0 / 0.6771 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.1825, allocations: 0 / 0.6771 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.49e-05/0.1825, allocations: 3.938 kB / 0.6771 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.1829, allocations: 75.73 kB / 0.6772 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.183, allocations: 19.98 kB / 0.6772 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.183, allocations: 4 kB / 0.6772 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.183, allocations: 15.91 kB / 0.6772 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.1831, allocations: 15.92 kB / 0.6772 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1831, allocations: 0 / 0.6772 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.1834, allocations: 99.89 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1834, allocations: 4 kB / 0.6773 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.1834, allocations: 15.92 kB / 0.6773 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1836, allocations: 68.06 kB / 0.6774 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1836, allocations: 0 / 0.6774 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1836, allocations: 4 kB / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.1836, allocations: 0 / 0.6774 GB, free: 8.547 MB / 0.5137 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.0004914/0.1841, allocations: 355.2 kB / 0.6777 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1842, allocations: 8.031 kB / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.1842, allocations: 38.75 kB / 0.6778 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.1843, allocations: 0.9375 kB / 0.6778 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1844, allocations: 172.3 kB / 0.6779 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1844, allocations: 384 / 0.6779 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1844, allocations: 12.38 kB / 0.6779 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1846, allocations: 49.81 kB / 0.678 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1846, allocations: 4 kB / 0.678 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1846, allocations: 3.984 kB / 0.678 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1846, allocations: 0 / 0.678 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/0.1847, allocations: 31.86 kB / 0.678 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.1849, allocations: 165.6 kB / 0.6782 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1851, allocations: 58.56 kB / 0.6782 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1851, allocations: 24.84 kB / 0.6783 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.1858, allocations: 0.5583 MB / 0.6788 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.1858, allocations: 38.48 kB / 0.6789 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1858, allocations: 0 / 0.6789 GB, free: 6.746 MB / 0.5137 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.02055/0.2064, allocations: 4.382 MB / 0.6831 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2065, allocations: 63.34 kB / 0.6832 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.2066, allocations: 93.84 kB / 0.6833 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.2066, allocations: 25.7 kB / 0.6833 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.2067, allocations: 92.27 kB / 0.6834 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2068, allocations: 51.53 kB / 0.6834 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.207, allocations: 93.67 kB / 0.6835 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2072, allocations: 322.8 kB / 0.6838 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.2077, allocations: 311.8 kB / 0.6841 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.2082, allocations: 311.9 kB / 0.6844 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.2098, allocations: 0.7729 MB / 0.6852 GB, free: 64 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2098, allocations: 0 / 0.6852 GB, free: 64 kB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001623/0.2115, allocations: 0.8021 MB / 0.686 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2115, allocations: 7.938 kB / 0.686 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2115, allocations: 0 / 0.686 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2115, allocations: 7.984 kB / 0.686 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.2124, allocations: 87.95 kB / 0.6861 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2124, allocations: 0 / 0.6861 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.2129, allocations: 8 kB / 0.6861 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.213, allocations: 35.97 kB / 0.6861 GB, free: 15.11 MB / 0.5294 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.0001863/0.2132, allocations: 122.4 kB / 0.6862 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.2133, allocations: 11.95 kB / 0.6862 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.2163, allocations: 1.399 MB / 0.6876 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2163, allocations: 8 kB / 0.6876 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2163, allocations: 0 / 0.6876 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2163, allocations: 3.984 kB / 0.6876 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.2193, allocations: 1.806 MB / 0.6894 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2193, allocations: 0 / 0.6894 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.2201, allocations: 107.9 kB / 0.6895 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2201, allocations: 0 / 0.6895 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.2202, allocations: 43.86 kB / 0.6895 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.2202, allocations: 3.938 kB / 0.6895 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2202, allocations: 0 / 0.6895 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.2226, allocations: 1.463 MB / 0.691 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.2227, allocations: 101 kB / 0.6911 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.2228, allocations: 7.938 kB / 0.6911 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.2234, allocations: 16 kB / 0.6911 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2235, allocations: 35.97 kB / 0.6911 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/0.2236, allocations: 32 kB / 0.6911 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.2237, allocations: 79.34 kB / 0.6912 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2237, allocations: 0 / 0.6912 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006031/0.2243, allocations: 183.7 kB / 0.6914 GB, free: 9.582 MB / 0.5294 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.00326/0.2275, allocations: 2.126 MB / 0.6935 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.2289, allocations: 0.729 MB / 0.6942 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.2289, allocations: 0 / 0.6942 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/0.2296, allocations: 459.6 kB / 0.6946 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2299, allocations: 16 kB / 0.6946 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.2379, allocations: 3.715 MB / 0.6983 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.2383, allocations: 0.7181 MB / 0.699 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001052/0.2393, allocations: 290.6 kB / 0.6992 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.2399, allocations: 119.4 kB / 0.6994 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/0.24, allocations: 4 kB / 0.6994 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/0.2773, allocations: 12.76 MB / 0.7118 GB, free: 4.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.319, allocations: 7.688 kB / 0.7118 GB, free: 4.719 MB / 0.545 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)