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.004869/0.004869, allocations: 105 kB / 15.74 MB, free: 5.992 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.001135/0.001135, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.8367/0.8367, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.52 kB / 0.5951 GB, free: 12.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1497, allocations: 82.02 MB / 0.6752 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001779/0.1515, allocations: 0.6255 MB / 0.6758 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1531, allocations: 1.279 MB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.1532, allocations: 0 / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.1532, allocations: 0 / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.1533, allocations: 3.938 kB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1537, allocations: 79.72 kB / 0.6771 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.1537, allocations: 23.98 kB / 0.6772 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.1538, allocations: 4 kB / 0.6772 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.1538, allocations: 11.94 kB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.1539, allocations: 11.98 kB / 0.6772 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1539, allocations: 7.984 kB / 0.6772 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.1541, allocations: 99.83 kB / 0.6773 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.1541, allocations: 7.984 kB / 0.6773 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1542, allocations: 11.92 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1543, allocations: 67.86 kB / 0.6774 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1543, allocations: 4 kB / 0.6774 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1543, allocations: 0 / 0.6774 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1543, allocations: 0 / 0.6774 GB, free: 8.531 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.0004344/0.1548, allocations: 346.4 kB / 0.6777 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1548, allocations: 15.97 kB / 0.6777 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.1549, allocations: 38.75 kB / 0.6778 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.1549, allocations: 4.844 kB / 0.6778 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.155, allocations: 168.4 kB / 0.6779 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.155, allocations: 4.375 kB / 0.6779 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1551, allocations: 8.375 kB / 0.6779 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1552, allocations: 49.81 kB / 0.678 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1552, allocations: 0 / 0.678 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1552, allocations: 4 kB / 0.678 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1552, allocations: 0 / 0.678 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.1553, allocations: 31.91 kB / 0.678 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1555, allocations: 170.2 kB / 0.6782 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1556, allocations: 58.56 kB / 0.6782 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.1556, allocations: 24.84 kB / 0.6783 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/0.1561, allocations: 0.5544 MB / 0.6788 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1561, allocations: 38.5 kB / 0.6788 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1562, allocations: 0 / 0.6788 GB, free: 6.738 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.0197/0.1759, allocations: 4.385 MB / 0.6831 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1759, allocations: 59.34 kB / 0.6832 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.176, allocations: 93.84 kB / 0.6833 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.1761, allocations: 37.83 kB / 0.6833 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.1761, allocations: 80.14 kB / 0.6834 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1762, allocations: 51.2 kB / 0.6834 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.1765, allocations: 93.67 kB / 0.6835 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1766, allocations: 318.8 kB / 0.6838 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.1771, allocations: 315.8 kB / 0.6841 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.1776, allocations: 309.4 kB / 0.6844 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.1791, allocations: 0.7692 MB / 0.6852 GB, free: 68 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1791, allocations: 4 kB / 0.6852 GB, free: 64 kB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001542/0.1807, allocations: 0.7981 MB / 0.686 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1807, allocations: 4 kB / 0.686 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1807, allocations: 3.938 kB / 0.686 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1807, allocations: 4 kB / 0.686 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.1815, allocations: 95.94 kB / 0.6861 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1815, allocations: 0 / 0.6861 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.182, allocations: 4 kB / 0.6861 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/0.1821, allocations: 39.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.0001884/0.1823, allocations: 125.7 kB / 0.6862 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.1824, allocations: 4 kB / 0.6862 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.1854, allocations: 1.396 MB / 0.6876 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.1854, allocations: 7.938 kB / 0.6876 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1854, allocations: 3.938 kB / 0.6876 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.1854, allocations: 7.984 kB / 0.6876 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.1884, allocations: 1.806 MB / 0.6894 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.1885, allocations: 4 kB / 0.6894 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.1892, allocations: 107.9 kB / 0.6895 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.1892, allocations: 0 / 0.6895 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.1893, allocations: 35.94 kB / 0.6895 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.1893, allocations: 3.984 kB / 0.6895 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1893, allocations: 7.875 kB / 0.6895 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.1918, allocations: 1.467 MB / 0.691 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.1918, allocations: 89.05 kB / 0.691 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/0.192, allocations: 11.92 kB / 0.6911 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.1924, allocations: 12 kB / 0.6911 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.1926, allocations: 39.97 kB / 0.6911 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.1927, allocations: 32 kB / 0.6911 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.1927, allocations: 79.34 kB / 0.6912 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1927, allocations: 0 / 0.6912 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006224/0.1933, allocations: 180 kB / 0.6914 GB, free: 9.586 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.003121/0.1965, allocations: 2.138 MB / 0.6935 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.1978, allocations: 0.7229 MB / 0.6942 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1978, allocations: 0 / 0.6942 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.1985, allocations: 459.6 kB / 0.6946 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1988, allocations: 12 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.007241/0.2061, allocations: 3.72 MB / 0.6983 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.2064, allocations: 0.7182 MB / 0.699 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009756/0.2074, allocations: 293.5 kB / 0.6992 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/0.208, allocations: 115.4 kB / 0.6993 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.208, allocations: 0 / 0.6993 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.2425, allocations: 13.06 MB / 0.7121 GB, free: 4.426 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.956, allocations: 7.375 kB / 0.7121 GB, free: 4.422 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --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)