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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 102.2 kB / 16.27 MB, free: 6 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.001202/0.001202, allocations: 191 kB / 17.2 MB, free: 5.609 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.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.7893/0.7893, allocations: 143 MB / 434.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.5148 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 82.03 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001575/0.3124, allocations: 0.6146 MB / 0.5955 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3135, allocations: 1.284 MB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.3135, allocations: 0 / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.3136, allocations: 4 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.913e-05/0.3136, allocations: 0.8438 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.3139, allocations: 72.98 kB / 0.5969 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.314, allocations: 19.98 kB / 0.5969 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.314, allocations: 3.938 kB / 0.5969 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.314, allocations: 25.69 kB / 0.5969 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.3141, allocations: 11.92 kB / 0.5969 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3141, allocations: 0 / 0.5969 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.3143, allocations: 99.89 kB / 0.597 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3143, allocations: 9.828 kB / 0.597 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.3144, allocations: 11.94 kB / 0.597 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3145, allocations: 67.84 kB / 0.5971 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3145, allocations: 0 / 0.5971 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3145, allocations: 0 / 0.5971 GB, free: 13.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3145, allocations: 0 / 0.5971 GB, free: 13.98 MB / 446.1 MB 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.0003453/0.3149, allocations: 351 kB / 0.5974 GB, free: 13.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.3149, allocations: 8.812 kB / 0.5975 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.3149, allocations: 8.844 kB / 0.5975 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.675e-05/0.315, allocations: 165.9 kB / 0.5976 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.315, allocations: 384 / 0.5976 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3151, allocations: 12.31 kB / 0.5976 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.3152, allocations: 50.94 kB / 0.5977 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3152, allocations: 4 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3152, allocations: 0 / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3152, allocations: 5.125 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.625e-05/0.3153, allocations: 23.97 kB / 0.5977 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.3154, allocations: 171 kB / 0.5979 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.3155, allocations: 62.5 kB / 0.5979 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.3155, allocations: 25.56 kB / 0.598 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/0.3159, allocations: 0.5597 MB / 0.5985 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3159, allocations: 43.95 kB / 0.5986 GB, free: 12.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3159, allocations: 0 / 0.5986 GB, free: 12.23 MB / 446.1 MB 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.01841/0.3343, allocations: 4.38 MB / 0.6028 GB, free: 7.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.3344, allocations: 51.41 kB / 0.6029 GB, free: 7.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.3345, allocations: 97.84 kB / 0.603 GB, free: 7.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.3345, allocations: 29.7 kB / 0.603 GB, free: 7.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.3345, allocations: 82.55 kB / 0.6031 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.3346, allocations: 55.11 kB / 0.6031 GB, free: 7.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.3349, allocations: 93.67 kB / 0.6032 GB, free: 7.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.3349, allocations: 326.8 kB / 0.6035 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.3353, allocations: 308 kB / 0.6038 GB, free: 6.738 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.3358, allocations: 310.2 kB / 0.6041 GB, free: 6.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.337, allocations: 0.774 MB / 0.6049 GB, free: 5.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.337, allocations: 0 / 0.6049 GB, free: 5.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001299/0.3383, allocations: 0.8004 MB / 0.6057 GB, free: 4.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3384, allocations: 4 kB / 0.6057 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3384, allocations: 4 kB / 0.6057 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3384, allocations: 0 / 0.6057 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.3392, allocations: 95.88 kB / 0.6058 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3392, allocations: 0 / 0.6058 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.3398, allocations: 16 kB / 0.6058 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.3398, allocations: 31.97 kB / 0.6058 GB, free: 4.707 MB / 446.1 MB 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.0001537/0.34, allocations: 121.7 kB / 0.6059 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.3401, allocations: 4 kB / 0.6059 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.343, allocations: 1.399 MB / 0.6073 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.343, allocations: 4 kB / 0.6073 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.343, allocations: 4 kB / 0.6073 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.343, allocations: 7.984 kB / 0.6073 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.3454, allocations: 1.817 MB / 0.6091 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3454, allocations: 0 / 0.6091 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.3462, allocations: 107.8 kB / 0.6092 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3462, allocations: 0 / 0.6092 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.3463, allocations: 39.88 kB / 0.6092 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3463, allocations: 3.984 kB / 0.6092 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3463, allocations: 4 kB / 0.6092 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.3484, allocations: 1.469 MB / 0.6107 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.3485, allocations: 85.02 kB / 0.6107 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.3486, allocations: 11.92 kB / 0.6108 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.3491, allocations: 16 kB / 0.6108 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3493, allocations: 39.97 kB / 0.6108 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.3494, allocations: 32 kB / 0.6108 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.3494, allocations: 75.28 kB / 0.6109 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3494, allocations: 4.156 kB / 0.6109 GB, free: 15.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.35, allocations: 184 kB / 0.6111 GB, free: 15.17 MB / 462.1 MB 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.0004943/0.3505, allocations: 219.1 kB / 0.6113 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3518, allocations: 0.7417 MB / 0.612 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3518, allocations: 0 / 0.612 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006501/0.3525, allocations: 451.8 kB / 0.6125 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3528, allocations: 22.19 kB / 0.6125 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.3564, allocations: 0.8216 MB / 0.6133 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3567, allocations: 0.7181 MB / 0.614 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.3573, allocations: 95.41 kB / 0.6141 GB, free: 12.05 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3573, allocations: 0 / 0.6141 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Templates: time 0.01094/0.3682, allocations: 6.925 MB / 0.6208 GB, free: 5.234 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)