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.001191/0.001191, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.001319/0.001319, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 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.8866/0.8866, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.363, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001682/0.3647, allocations: 0.607 MB / 0.5963 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3659, allocations: 1.293 MB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.3659, allocations: 0 / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3659, allocations: 0 / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.578e-05/0.366, allocations: 6.312 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.3663, allocations: 79.72 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.3664, allocations: 19.92 kB / 0.5977 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.3664, allocations: 4 kB / 0.5977 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.3665, allocations: 4 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.3665, allocations: 20.88 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3666, allocations: 4 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.3668, allocations: 101.1 kB / 0.5978 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.3668, allocations: 3.984 kB / 0.5978 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.3668, allocations: 15.92 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3669, allocations: 63.86 kB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3669, allocations: 1.5 kB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3669, allocations: 0 / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.367, allocations: 0 / 0.5979 GB, free: 13.94 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.0003382/0.3673, allocations: 353.8 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3673, allocations: 12.03 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.3674, allocations: 4.844 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.3675, allocations: 168.2 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.3675, allocations: 1.688 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3675, allocations: 4.375 kB / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.3676, allocations: 57.98 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3676, allocations: 0.75 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3676, allocations: 3.938 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3677, allocations: 1.406 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.3677, allocations: 31.92 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.3678, allocations: 169.5 kB / 0.5987 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.961e-05/0.3679, allocations: 60 kB / 0.5987 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.368, allocations: 29.59 kB / 0.5987 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.3683, allocations: 0.5559 MB / 0.5993 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3683, allocations: 39.62 kB / 0.5993 GB, free: 12.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3683, allocations: 0 / 0.5993 GB, free: 12.19 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.01726/0.3856, allocations: 4.377 MB / 0.6036 GB, free: 7.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.3857, allocations: 58.75 kB / 0.6036 GB, free: 7.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.3857, allocations: 89.86 kB / 0.6037 GB, free: 7.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.3858, allocations: 33.64 kB / 0.6038 GB, free: 7.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.3858, allocations: 80.14 kB / 0.6038 GB, free: 7.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.3859, allocations: 67.08 kB / 0.6039 GB, free: 7.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.3861, allocations: 89.67 kB / 0.604 GB, free: 7.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.3862, allocations: 325.1 kB / 0.6043 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.3866, allocations: 315.8 kB / 0.6046 GB, free: 6.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.387, allocations: 307.9 kB / 0.6049 GB, free: 6.395 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.3882, allocations: 0.7684 MB / 0.6056 GB, free: 5.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3882, allocations: 0 / 0.6056 GB, free: 5.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001249/0.3894, allocations: 0.8041 MB / 0.6064 GB, free: 4.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3895, allocations: 4 kB / 0.6064 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3895, allocations: 0 / 0.6064 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3895, allocations: 0 / 0.6064 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/0.3902, allocations: 103.9 kB / 0.6065 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3902, allocations: 0 / 0.6065 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.3907, allocations: 4 kB / 0.6065 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.3907, allocations: 31.98 kB / 0.6066 GB, free: 4.676 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.0001426/0.3909, allocations: 129.7 kB / 0.6067 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.391, allocations: 8 kB / 0.6067 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.3935, allocations: 1.392 MB / 0.6081 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3935, allocations: 8 kB / 0.6081 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3935, allocations: 0 / 0.6081 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3935, allocations: 0 / 0.6081 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.3958, allocations: 1.818 MB / 0.6098 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3958, allocations: 0 / 0.6098 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.3965, allocations: 107.9 kB / 0.6099 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3965, allocations: 4 kB / 0.6099 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.3966, allocations: 27.94 kB / 0.61 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3966, allocations: 4 kB / 0.61 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3966, allocations: 0 / 0.61 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.3986, allocations: 1.474 MB / 0.6114 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3986, allocations: 85.05 kB / 0.6115 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.3987, allocations: 15.88 kB / 0.6115 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.3992, allocations: 12 kB / 0.6115 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3994, allocations: 43.95 kB / 0.6116 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.3994, allocations: 36 kB / 0.6116 GB, free: 15.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.3995, allocations: 75.34 kB / 0.6117 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3995, allocations: 4.094 kB / 0.6117 GB, free: 15.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.4, allocations: 180 kB / 0.6119 GB, free: 15.14 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.0004631/0.4005, allocations: 223.1 kB / 0.6121 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.4017, allocations: 0.7223 MB / 0.6128 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4017, allocations: 0 / 0.6128 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.4023, allocations: 455.7 kB / 0.6132 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4027, allocations: 19.94 kB / 0.6132 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.4057, allocations: 0.7926 MB / 0.614 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.4059, allocations: 0.722 MB / 0.6147 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009731/0.4069, allocations: 289.5 kB / 0.615 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.4074, allocations: 95.41 kB / 0.6151 GB, free: 11.79 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4074, allocations: 0 / 0.6151 GB, free: 11.79 MB / 462.1 MB Notification: Performance of Templates: time 0.01442/0.4219, allocations: 11.24 MB / 0.626 GB, free: 0.6445 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)