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.0008686/0.0008685, allocations: 92.39 kB / 16.02 MB, free: 80 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.001043/0.001043, allocations: 176.3 kB / 16.92 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.273 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.001/1.001, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 8 kB / 0.5171 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 83.42 MB / 0.5985 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007028/0.1524, allocations: 335 kB / 0.5988 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1539, allocations: 1.283 MB / 0.6001 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.154, allocations: 4 kB / 0.6001 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.154, allocations: 0 / 0.6001 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.208e-05/0.154, allocations: 0 / 0.6001 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1543, allocations: 55.88 kB / 0.6002 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.642e-05/0.1544, allocations: 15.98 kB / 0.6002 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.1544, allocations: 4 kB / 0.6002 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.1544, allocations: 15.92 kB / 0.6002 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.1545, allocations: 15.92 kB / 0.6002 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1545, allocations: 7.938 kB / 0.6002 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1548, allocations: 103.9 kB / 0.6003 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.1548, allocations: 4 kB / 0.6003 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1548, allocations: 33.64 kB / 0.6004 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1549, allocations: 47.92 kB / 0.6004 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1549, allocations: 0 / 0.6004 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1549, allocations: 0 / 0.6004 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1549, allocations: 0 / 0.6004 GB, free: 5.727 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.0003913/0.1553, allocations: 339.9 kB / 0.6007 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1554, allocations: 8.031 kB / 0.6007 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1554, allocations: 8.844 kB / 0.6007 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.1555, allocations: 172.3 kB / 0.6009 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1555, allocations: 384 / 0.6009 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1556, allocations: 8.375 kB / 0.6009 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1557, allocations: 57.94 kB / 0.601 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1557, allocations: 3.938 kB / 0.601 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1557, allocations: 0 / 0.601 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1557, allocations: 0 / 0.601 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.36e-05/0.1558, allocations: 27.97 kB / 0.601 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.156, allocations: 173.6 kB / 0.6012 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1561, allocations: 54.56 kB / 0.6012 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.1562, allocations: 32.78 kB / 0.6012 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.1566, allocations: 0.5544 MB / 0.6018 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1567, allocations: 42.5 kB / 0.6018 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1567, allocations: 0 / 0.6018 GB, free: 3.973 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.2892/0.4459, allocations: 4.277 MB / 0.606 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.446, allocations: 54.31 kB / 0.6061 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.446, allocations: 100 kB / 0.6062 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.4461, allocations: 29.52 kB / 0.6062 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.218e-05/0.4461, allocations: 80.14 kB / 0.6063 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4462, allocations: 58.5 kB / 0.6063 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.4463, allocations: 19.56 kB / 0.6063 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.4464, allocations: 319.9 kB / 0.6066 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.4468, allocations: 313.9 kB / 0.6069 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.4473, allocations: 310.3 kB / 0.6072 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.4487, allocations: 0.7718 MB / 0.608 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4487, allocations: 0.5312 kB / 0.608 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001379/0.4501, allocations: 0.8041 MB / 0.6088 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4501, allocations: 3.312 kB / 0.6088 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4501, allocations: 4.688 kB / 0.6088 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4501, allocations: 2.594 kB / 0.6088 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.451, allocations: 90.02 kB / 0.6089 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.451, allocations: 1.75 kB / 0.6089 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.4515, allocations: 9.688 kB / 0.6089 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.4516, allocations: 38.53 kB / 0.6089 GB, free: 40.45 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.0001672/0.4518, allocations: 115.8 kB / 0.609 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.4519, allocations: 10.06 kB / 0.609 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.4551, allocations: 1.401 MB / 0.6104 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4551, allocations: 5.812 kB / 0.6104 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.4551, allocations: 0 / 0.6104 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4551, allocations: 3.938 kB / 0.6104 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.4577, allocations: 1.81 MB / 0.6122 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4577, allocations: 0 / 0.6122 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.4585, allocations: 111.9 kB / 0.6123 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4585, allocations: 0 / 0.6123 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.4586, allocations: 26.34 kB / 0.6123 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4586, allocations: 3.031 kB / 0.6123 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4586, allocations: 4.031 kB / 0.6123 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.4608, allocations: 1.476 MB / 0.6138 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.4608, allocations: 90.83 kB / 0.6138 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.4609, allocations: 11.03 kB / 0.6139 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.4614, allocations: 14.53 kB / 0.6139 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4616, allocations: 36.34 kB / 0.6139 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.4616, allocations: 39.36 kB / 0.6139 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.4616, allocations: 76.59 kB / 0.614 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4617, allocations: 0 / 0.614 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005283/0.4622, allocations: 176.1 kB / 0.6142 GB, free: 39.17 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.0004471/0.4626, allocations: 229.8 kB / 0.6144 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.4637, allocations: 0.7236 MB / 0.6151 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4637, allocations: 0 / 0.6151 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.4643, allocations: 453.8 kB / 0.6155 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4646, allocations: 18.03 kB / 0.6156 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.4678, allocations: 0.8891 MB / 0.6164 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.468, allocations: 0.7191 MB / 0.6171 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.4685, allocations: 93.02 kB / 0.6172 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.4685, allocations: 2.812 kB / 0.6172 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.008847/0.4774, allocations: 6.911 MB / 0.624 GB, free: 36.96 MB / 0.4981 GB 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)